@hua-labs/ui 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +1 -1
  2. package/dist/{Switch-O4TpMKfQ.d.mts → Switch-Dzm5TLR3.d.mts} +1 -1
  3. package/dist/advanced/dashboard.d.ts.map +1 -1
  4. package/dist/advanced-dashboard.js +1 -1
  5. package/dist/advanced-dashboard.js.map +1 -1
  6. package/dist/advanced-dashboard.mjs +1 -1
  7. package/dist/advanced-emotion.js +1 -1
  8. package/dist/advanced-emotion.js.map +1 -1
  9. package/dist/advanced-emotion.mjs +1 -1
  10. package/dist/advanced-motion.js +5 -5
  11. package/dist/advanced-motion.js.map +1 -1
  12. package/dist/advanced-motion.mjs +1 -1
  13. package/dist/advanced.js +7 -7
  14. package/dist/advanced.js.map +1 -1
  15. package/dist/advanced.mjs +1 -1
  16. package/dist/chunk-BXX2TZUB.mjs +3 -0
  17. package/dist/chunk-BXX2TZUB.mjs.map +1 -0
  18. package/dist/{chunk-ECLIPN34.mjs → chunk-COR6CDMA.mjs} +3 -3
  19. package/dist/{chunk-ECLIPN34.mjs.map → chunk-COR6CDMA.mjs.map} +1 -1
  20. package/dist/chunk-HN5LSP6L.mjs +3 -0
  21. package/dist/chunk-HN5LSP6L.mjs.map +1 -0
  22. package/dist/{chunk-T3GU5BJ3.mjs → chunk-LOYAJIWO.mjs} +2 -2
  23. package/dist/{chunk-T3GU5BJ3.mjs.map → chunk-LOYAJIWO.mjs.map} +1 -1
  24. package/dist/{chunk-TOANBEPN.mjs → chunk-NBJUE7NR.mjs} +2 -2
  25. package/dist/{chunk-TOANBEPN.mjs.map → chunk-NBJUE7NR.mjs.map} +1 -1
  26. package/dist/{chunk-5BMH7223.mjs → chunk-PYBYZVSL.mjs} +2 -2
  27. package/dist/{chunk-5BMH7223.mjs.map → chunk-PYBYZVSL.mjs.map} +1 -1
  28. package/dist/{chunk-PQ3DBOMK.mjs → chunk-QQCELXFD.mjs} +2 -2
  29. package/dist/{chunk-PQ3DBOMK.mjs.map → chunk-QQCELXFD.mjs.map} +1 -1
  30. package/dist/{chunk-OI66ZLUB.mjs → chunk-UWHCM3S6.mjs} +2 -2
  31. package/dist/{chunk-OI66ZLUB.mjs.map → chunk-UWHCM3S6.mjs.map} +1 -1
  32. package/dist/{chunk-MYFMKCYX.mjs → chunk-XV3Y7QVU.mjs} +2 -2
  33. package/dist/{chunk-MYFMKCYX.mjs.map → chunk-XV3Y7QVU.mjs.map} +1 -1
  34. package/dist/components/Avatar.d.ts +1 -1
  35. package/dist/components/Avatar.d.ts.map +1 -1
  36. package/dist/components/Badge.d.ts +1 -1
  37. package/dist/components/Badge.d.ts.map +1 -1
  38. package/dist/components/Button.variants.d.ts +1 -1
  39. package/dist/components/Button.variants.d.ts.map +1 -1
  40. package/dist/components/Card.d.ts +1 -1
  41. package/dist/components/Card.d.ts.map +1 -1
  42. package/dist/components/CodeBlock.d.ts +1 -1
  43. package/dist/components/Container.d.ts +1 -1
  44. package/dist/components/Container.d.ts.map +1 -1
  45. package/dist/components/Grid.d.ts +1 -1
  46. package/dist/components/Grid.d.ts.map +1 -1
  47. package/dist/components/Icon/Icon.d.ts.map +1 -1
  48. package/dist/components/Input.d.ts +1 -1
  49. package/dist/components/Input.d.ts.map +1 -1
  50. package/dist/components/Label.d.ts +1 -1
  51. package/dist/components/Label.d.ts.map +1 -1
  52. package/dist/components/Link.d.ts +1 -1
  53. package/dist/components/Link.d.ts.map +1 -1
  54. package/dist/components/Panel.d.ts +1 -1
  55. package/dist/components/Panel.d.ts.map +1 -1
  56. package/dist/components/Progress.d.ts +2 -2
  57. package/dist/components/Progress.d.ts.map +1 -1
  58. package/dist/components/Select.d.ts +1 -1
  59. package/dist/components/Select.d.ts.map +1 -1
  60. package/dist/components/Skeleton.d.ts +1 -1
  61. package/dist/components/Skeleton.d.ts.map +1 -1
  62. package/dist/components/Stack.d.ts +1 -1
  63. package/dist/components/Stack.d.ts.map +1 -1
  64. package/dist/components/Textarea.d.ts +1 -1
  65. package/dist/components/Textarea.d.ts.map +1 -1
  66. package/dist/components/icons/essential.d.ts +68 -0
  67. package/dist/components/icons/essential.d.ts.map +1 -0
  68. package/dist/components/icons-bold/essential.d.ts +68 -0
  69. package/dist/components/icons-bold/essential.d.ts.map +1 -0
  70. package/dist/data.d.mts +1 -1
  71. package/dist/data.js.map +1 -1
  72. package/dist/data.mjs.map +1 -1
  73. package/dist/form.d.mts +1 -1
  74. package/dist/form.js +1 -1
  75. package/dist/form.js.map +1 -1
  76. package/dist/form.mjs +1 -1
  77. package/dist/iconsax-extended.d.ts +19 -0
  78. package/dist/iconsax-extended.d.ts.map +1 -0
  79. package/dist/iconsax-extended.js +3 -0
  80. package/dist/iconsax-extended.js.map +1 -0
  81. package/dist/iconsax-extended.mjs +4 -0
  82. package/dist/iconsax-extended.mjs.map +1 -0
  83. package/dist/iconsax.d.ts +10 -11
  84. package/dist/iconsax.d.ts.map +1 -1
  85. package/dist/iconsax.js +2 -2
  86. package/dist/iconsax.js.map +1 -1
  87. package/dist/iconsax.mjs +2 -2
  88. package/dist/iconsax.mjs.map +1 -1
  89. package/dist/index.d.mts +2 -2
  90. package/dist/index.js +4 -4
  91. package/dist/index.js.map +1 -1
  92. package/dist/index.mjs +1 -1
  93. package/dist/interactive.js +1 -1
  94. package/dist/interactive.js.map +1 -1
  95. package/dist/interactive.mjs +1 -1
  96. package/dist/lib/iconsax-loader.d.ts +15 -45
  97. package/dist/lib/iconsax-loader.d.ts.map +1 -1
  98. package/dist/navigation.js +2 -2
  99. package/dist/navigation.js.map +1 -1
  100. package/dist/navigation.mjs +1 -1
  101. package/dist/overlay.js +1 -1
  102. package/dist/overlay.js.map +1 -1
  103. package/dist/overlay.mjs +1 -1
  104. package/dist/sdui.js +3 -3
  105. package/dist/sdui.js.map +1 -1
  106. package/dist/sdui.mjs +1 -1
  107. package/package.json +23 -7
  108. package/src/components/icons/essential.ts +195 -0
  109. package/src/components/icons-bold/essential.ts +195 -0
  110. package/LICENSE +0 -21
  111. package/dist/chunk-AANHUMJ2.mjs +0 -3
  112. package/dist/chunk-AANHUMJ2.mjs.map +0 -1
  113. package/dist/chunk-FSL373O6.mjs +0 -3
  114. package/dist/chunk-FSL373O6.mjs.map +0 -1
  115. package/dist/components/icons/Frame2.d.ts +0 -4
  116. package/dist/components/icons/Frame2.d.ts.map +0 -1
  117. package/dist/components/icons/Group.d.ts +0 -4
  118. package/dist/components/icons/Group.d.ts.map +0 -1
  119. package/dist/components/icons/Group1.d.ts +0 -4
  120. package/dist/components/icons/Group1.d.ts.map +0 -1
  121. package/dist/components/icons/GroupCopy.d.ts +0 -4
  122. package/dist/components/icons/GroupCopy.d.ts.map +0 -1
  123. package/dist/iconsax.d.mts +0 -160
  124. package/src/components/icons/Frame2.tsx +0 -28
  125. package/src/components/icons/Group.tsx +0 -35
  126. package/src/components/icons/Group1.tsx +0 -21
  127. package/src/components/icons/GroupCopy.tsx +0 -21
package/README.md CHANGED
@@ -94,7 +94,7 @@ function App() {
94
94
 
95
95
  ## Related Packages | 관련 패키지
96
96
 
97
- - [`@hua-labs/hua-ux`](https://www.npmjs.com/package/@hua-labs/hua-ux) — UX framework (UI + Motion + i18n)
97
+ - [`@hua-labs/hua`](https://www.npmjs.com/package/@hua-labs/hua) — Framework (UI + Motion + i18n)
98
98
  - [`@hua-labs/ui-dashboard`](https://www.npmjs.com/package/@hua-labs/ui-dashboard) — Dashboard domain components
99
99
  - [`@hua-labs/motion-core`](https://www.npmjs.com/package/@hua-labs/motion-core) — Animation hooks
100
100
 
@@ -147,4 +147,4 @@ interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>,
147
147
  */
148
148
  declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
149
149
 
150
- export { Input as I, Label as L, NumberInput as N, Switch as S, type LabelProps as a, type InputProps as b, type NumberInputProps as c, type SwitchProps as d };
150
+ export { Input as I, Label as L, NumberInput as N, Switch as S, type InputProps as a, type LabelProps as b, type NumberInputProps as c, type SwitchProps as d };
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/advanced/dashboard.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,mBAAmB,yBAAyB,CAAC;AAG7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/advanced/dashboard.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,mBAAmB,yBAAyB,CAAC;AAG7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1,4 +1,4 @@
1
- 'use strict';var be=require('react'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),ssr=require('@phosphor-icons/react/dist/ssr'),jsxRuntime=require('react/jsx-runtime'),classVarianceAuthority=require('class-variance-authority'),core=require('@dnd-kit/core'),sortable=require('@dnd-kit/sortable'),utilities=require('@dnd-kit/utilities');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var be__default=/*#__PURE__*/_interopDefault(be);function n(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function Zt(e,r="ko-KR"){let t=typeof e=="string"?new Date(e):e,a=new Date().getTime()-t.getTime(),l=Math.floor(a/6e4),c=Math.floor(a/36e5),b=Math.floor(a/864e5);return l<1?r==="ko-KR"?"\uBC29\uAE08 \uC804":"just now":l<60?r==="ko-KR"?`${l}\uBD84 \uC804`:`${l}m ago`:c<24?r==="ko-KR"?`${c}\uC2DC\uAC04 \uC804`:`${c}h ago`:b<7?r==="ko-KR"?`${b}\uC77C \uC804`:`${b}d ago`:t.toLocaleDateString(r)}function br(e){let r=Object.entries(e).filter(([,t])=>t).map(([t])=>t);return n(...r)}var ra={home:ssr.House,arrowLeft:ssr.ArrowLeft,arrowRight:ssr.ArrowRight,arrowUp:ssr.ArrowUp,arrowDown:ssr.ArrowDown,menu:ssr.List,close:ssr.X,search:ssr.MagnifyingGlass,settings:ssr.Gear,externalLink:ssr.ArrowSquareOut,chevronLeft:ssr.CaretLeft,chevronRight:ssr.CaretRight,chevronDown:ssr.CaretDown,chevronUp:ssr.CaretUp,edit:ssr.Pencil,delete:ssr.Trash,add:ssr.Plus,remove:ssr.Minus,download:ssr.Download,upload:ssr.Upload,refresh:ssr.ArrowClockwise,save:ssr.FloppyDisk,copy:ssr.Copy,loader:ssr.SpinnerGap,success:ssr.CheckCircle,error:ssr.XCircle,alertCircle:ssr.WarningCircle,warning:ssr.WarningCircle,info:ssr.Info,check:ssr.Check,circle:ssr.Circle,helpCircle:ssr.Question,user:ssr.User,users:ssr.Users,userPlus:ssr.UserPlus,logIn:ssr.SignIn,logOut:ssr.SignOut,eye:ssr.Eye,eyeOff:ssr.EyeSlash,chart:ssr.ChartBar,barChart:ssr.ChartBar,trendingUp:ssr.TrendUp,activity:ssr.Pulse,database:ssr.Database,zap:ssr.Lightning,fileText:ssr.FileText,file:ssr.File,folder:ssr.Folder,book:ssr.Book,bookOpen:ssr.BookOpen,mail:ssr.Envelope,message:ssr.ChatCircle,phone:ssr.Phone,image:ssr.Image,video:ssr.Video,camera:ssr.Camera,smile:ssr.Smiley,frown:ssr.SmileySad,meh:ssr.SmileyMeh,lock:ssr.Lock,unlock:ssr.LockOpen,shield:ssr.Shield,wallet:ssr.Wallet,key:ssr.Key,clock:ssr.Clock,calendar:ssr.Calendar,calendarPlus:ssr.CalendarPlus,bell:ssr.Bell,heart:ssr.Heart,star:ssr.Star,bookmark:ssr.Bookmark,share:ssr.Share,monitor:ssr.Monitor,sun:ssr.Sun,moon:ssr.Moon,lightbulb:ssr.Lightbulb,brain:ssr.Brain,flag:ssr.Flag,square:ssr.Square,sparkle:ssr.Sparkle,sparkles:ssr.Sparkle,globe:ssr.Globe,smartphone:ssr.DeviceMobile,deviceMobile:ssr.DeviceMobile,floppyDisk:ssr.FloppyDisk,ticket:ssr.Ticket,clipboard:ssr.Clipboard,wifi:ssr.WifiHigh,wifiOff:ssr.WifiSlash,cpu:ssr.Cpu,mask:ssr.MaskHappy,bold:ssr.TextB,italic:ssr.TextItalic,strikethrough:ssr.TextStrikethrough,heading:ssr.TextHOne,link:ssr.Link,code:ssr.Code,fileCode:ssr.FileCode,quote:ssr.Quotes,list:ssr.List,listOrdered:ssr.ListNumbers,minus:ssr.Minus},aa={happy:"smile",sad:"frown",neutral:"meh",excited:"smile",angry:"frown",love:"heart",like:"heart",dislike:"frown"},oa={loading:"loader",success:"success",error:"error",warning:"warning",info:"info",locked:"lock",unlocked:"unlock",visible:"eye",hidden:"eyeOff"};function na(e){return !e||!/[-_]/.test(e)&&/^[a-z]/.test(e)?e:/^[A-Z]+$/.test(e)?e.toLowerCase():/^[A-Z]/.test(e)&&!/[-_]/.test(e)?e.charAt(0).toLowerCase()+e.slice(1):e.split(/[-_]/).map((r,t)=>t===0?r.toLowerCase():r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()).join("")}var te=null,re=null,Lt=null;function fr(){return Lt}var sa={home:{lucide:"Home",phosphor:"House",iconsax:"Home2"},"layout-dashboard":{lucide:"LayoutDashboard",phosphor:"SquaresFour"},folder:{lucide:"Folder",phosphor:"Folder",iconsax:"Folder"},"alert-circle":{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},alertCircle:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},columns:{lucide:"Columns",phosphor:"Columns"},users:{lucide:"Users",phosphor:"Users",iconsax:"People"},settings:{lucide:"Settings",phosphor:"Gear"},menu:{lucide:"Menu",phosphor:"List",iconsax:"Menu"},close:{lucide:"X",phosphor:"X",iconsax:"CloseCircle"},chevronLeft:{lucide:"ChevronLeft",phosphor:"CaretLeft",iconsax:"ArrowLeft2"},chevronRight:{lucide:"ChevronRight",phosphor:"CaretRight",iconsax:"ArrowRight2"},chevronDown:{lucide:"ChevronDown",phosphor:"CaretDown",iconsax:"ArrowDown2"},chevronUp:{lucide:"ChevronUp",phosphor:"CaretUp",iconsax:"ArrowUp2"},arrowLeft:{lucide:"ArrowLeft",phosphor:"ArrowLeft",iconsax:"ArrowLeft"},arrowRight:{lucide:"ArrowRight",phosphor:"ArrowRight",iconsax:"ArrowRight"},arrowUp:{lucide:"ArrowUp",phosphor:"ArrowUp",iconsax:"ArrowUp"},arrowDown:{lucide:"ArrowDown",phosphor:"ArrowDown",iconsax:"ArrowDown"},add:{lucide:"Plus",phosphor:"Plus",iconsax:"Add"},edit:{lucide:"Edit",phosphor:"Pencil"},pencil:{lucide:"Pencil",phosphor:"Pencil"},delete:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},trash:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},upload:{lucide:"Upload",phosphor:"Upload",iconsax:"Upload"},download:{lucide:"Download",phosphor:"Download",iconsax:"Download"},x:{lucide:"X",phosphor:"X"},check:{lucide:"Check",phosphor:"Check",iconsax:"Check"},search:{lucide:"Search",phosphor:"MagnifyingGlass",iconsax:"SearchNormal"},share:{lucide:"Share",phosphor:"Share"},copy:{lucide:"Copy",phosphor:"Copy"},save:{lucide:"Save",phosphor:"FloppyDisk"},loader:{lucide:"Loader2",phosphor:"Spinner"},loader2:{lucide:"Loader2",phosphor:"Spinner"},"check-circle":{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},checkCircle:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},success:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},error:{lucide:"XCircle",phosphor:"XCircle",iconsax:"CloseCircle"},warning:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Warning2"},info:{lucide:"Info",phosphor:"Info",iconsax:"InfoCircle"},refresh:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},refreshCw:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},bell:{lucide:"Bell",phosphor:"Bell",iconsax:"Bell"},heart:{lucide:"Heart",phosphor:"Heart",iconsax:"Heart"},star:{lucide:"Star",phosphor:"Star",iconsax:"Star"},bookmark:{lucide:"Bookmark",phosphor:"Bookmark"},user:{lucide:"User",phosphor:"User",iconsax:"User"},userPlus:{lucide:"UserPlus",phosphor:"UserPlus",iconsax:"UserAdd"},logIn:{lucide:"LogIn",phosphor:"SignIn",iconsax:"Login"},logOut:{lucide:"LogOut",phosphor:"SignOut",iconsax:"Logout"},chrome:{lucide:"Chrome",phosphor:"ChromeLogo",iconsax:"Chrome"},github:{lucide:"Github",phosphor:"GithubLogo"},message:{lucide:"MessageCircle",phosphor:"ChatCircle"},messageSquare:{lucide:"MessageSquare",phosphor:"ChatSquare"},"message-square":{lucide:"MessageSquare",phosphor:"ChatSquare"},inbox:{lucide:"Inbox",phosphor:"Inbox"},calendar:{lucide:"Calendar",phosphor:"Calendar"},calendarPlus:{lucide:"CalendarPlus",phosphor:"CalendarPlus"},checkSquare:{lucide:"CheckSquare",phosphor:"CheckSquare",iconsax:"TickSquare"},clock:{lucide:"Clock",phosphor:"Clock"},book:{lucide:"Book",phosphor:"Book",iconsax:"Book"},bookOpen:{lucide:"BookOpen",phosphor:"BookOpen",iconsax:"Book"},monitor:{lucide:"Monitor",phosphor:"Monitor",iconsax:"Monitor"},sun:{lucide:"Sun",phosphor:"Sun",iconsax:"Sun"},moon:{lucide:"Moon",phosphor:"Moon",iconsax:"Moon"},sparkle:{lucide:"Sparkle",phosphor:"Sparkle"},sparkles:{lucide:"Sparkles",phosphor:"Sparkle"},lightbulb:{lucide:"Lightbulb",phosphor:"Lightbulb"},brain:{lucide:"Brain",phosphor:"Brain"},zap:{lucide:"Zap",phosphor:"Lightning"},globe:{lucide:"Globe",phosphor:"Globe",iconsax:"Global"},deviceMobile:{lucide:"Smartphone",phosphor:"DeviceMobile"},smartphone:{lucide:"Smartphone",phosphor:"DeviceMobile"},floppyDisk:{lucide:"Save",phosphor:"FloppyDisk"},chart:{lucide:"BarChart3",phosphor:"ChartBar"},barChart:{lucide:"BarChart",phosphor:"ChartBar"},trendingUp:{lucide:"TrendingUp",phosphor:"TrendUp"},trendingDown:{lucide:"TrendingDown",phosphor:"TrendDown"},activity:{lucide:"Activity",phosphor:"Pulse"},database:{lucide:"Database",phosphor:"Database"},dollarSign:{lucide:"DollarSign",phosphor:"CurrencyDollar"},dollar:{lucide:"DollarSign",phosphor:"CurrencyDollar"},currency:{lucide:"DollarSign",phosphor:"CurrencyDollar"},layers:{lucide:"Layers",phosphor:"Stack"},ban:{lucide:"Ban",phosphor:"Prohibit"},lock:{lucide:"Lock",phosphor:"Lock",iconsax:"Lock"},unlock:{lucide:"Unlock",phosphor:"LockOpen",iconsax:"Unlock"},shield:{lucide:"Shield",phosphor:"Shield",iconsax:"Shield"},key:{lucide:"Key",phosphor:"Key"},play:{lucide:"Play",phosphor:"Play",iconsax:"Play"},pause:{lucide:"Pause",phosphor:"Pause",iconsax:"Pause"},image:{lucide:"Image",phosphor:"Image",iconsax:"Image"},video:{lucide:"Video",phosphor:"Video",iconsax:"Video"},camera:{lucide:"Camera",phosphor:"Camera",iconsax:"Camera"},fileText:{lucide:"FileText",phosphor:"FileText"},file:{lucide:"File",phosphor:"File"},externalLink:{lucide:"ExternalLink",phosphor:"ArrowSquareOut"},link:{lucide:"Link",phosphor:"Link",iconsax:"Link"},moreHorizontal:{lucide:"MoreHorizontal",phosphor:"DotsThreeOutline"},moreVertical:{lucide:"MoreVertical",phosphor:"DotsThreeVertical"},remove:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"},eye:{lucide:"Eye",phosphor:"Eye",iconsax:"Eye"},eyeOff:{lucide:"EyeOff",phosphor:"EyeSlash",iconsax:"EyeSlash"},smile:{lucide:"Smile",phosphor:"Smiley",iconsax:"EmojiHappy"},frown:{lucide:"Frown",phosphor:"SmileySad",iconsax:"EmojiSad"},meh:{lucide:"Meh",phosphor:"SmileyMeh",iconsax:"EmojiNormal"},mail:{lucide:"Mail",phosphor:"Envelope"},phone:{lucide:"Phone",phosphor:"Phone"},flag:{lucide:"Flag",phosphor:"Flag",iconsax:"Flag"},rocket:{lucide:"Rocket",phosphor:"Rocket",iconsax:"Rocket"},ticket:{lucide:"Ticket",phosphor:"Ticket",iconsax:"Ticket"},clipboard:{lucide:"ClipboardList",phosphor:"Clipboard",iconsax:"Sticker"},wifi:{lucide:"Wifi",phosphor:"WifiHigh",iconsax:"Wifi"},wifiOff:{lucide:"WifiOff",phosphor:"WifiSlash"},cpu:{lucide:"Cpu",phosphor:"Cpu",iconsax:"Computing"},mask:{lucide:"Drama",phosphor:"MaskHappy",iconsax:"EmojiHappy"},bold:{lucide:"Bold",phosphor:"TextB"},italic:{lucide:"Italic",phosphor:"TextItalic"},strikethrough:{lucide:"Strikethrough",phosphor:"TextStrikethrough"},heading:{lucide:"Heading",phosphor:"TextHOne"},code:{lucide:"Code",phosphor:"Code",iconsax:"Code"},fileCode:{lucide:"FileCode",phosphor:"FileCode"},quote:{lucide:"Quote",phosphor:"Quotes",iconsax:"QuoteUp"},list:{lucide:"List",phosphor:"List"},listOrdered:{lucide:"ListOrdered",phosphor:"ListNumbers"},minus:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"}};async function ia(){if(typeof window=="undefined")return null;if(!te)try{te=await import('@phosphor-icons/react');}catch{return console.warn("Phosphor Icons not available. Install @phosphor-icons/react to use."),null}return te}async function la(){if(typeof window=="undefined")return null;if(!re)try{re=await import('lucide-react');}catch{return console.warn("Lucide Icons not available. Install lucide-react to use lucide provider."),null}return re}function er(e,r="phosphor"){let t=sa[e];if(!t)return Jn(e,r);let o=t[r];switch(r){case "phosphor":return !o||!te?null:(te==null?void 0:te[o])||null;case "lucide":return !o||!re?null:(re==null?void 0:re[o])||null;case "iconsax":{return null;}default:return null}}function Jn(e,r){switch(r){case "phosphor":{if(!te)return null;let t=e.charAt(0).toUpperCase()+e.slice(1),o=e.split(/(?=[A-Z])/).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join("");return (te==null?void 0:te[t])||(te==null?void 0:te[o])||(te==null?void 0:te[e])||null}case "lucide":{if(!re)return null;let t=e.charAt(0).toUpperCase()+e.slice(1),o=e.replace(/([A-Z])/g,a=>a===e[0]?a.toLowerCase():a);return (re==null?void 0:re[t])||(re==null?void 0:re[e])||(re==null?void 0:re[o])||null}case "iconsax":{return null;}default:return null}}function da(e,r){let t=sa[e];if(t){let o=t[r];if(o)return o}return e}var xr={"arrow-left":"arrowLeft","arrow-right":"arrowRight","arrow-up":"arrowUp","arrow-down":"arrowDown","chevron-left":"chevronLeft","chevron-right":"chevronRight","chevron-up":"chevronUp","chevron-down":"chevronDown","external-link":"externalLink","more-horizontal":"moreHorizontal","more-vertical":"moreVertical","user-plus":"userPlus","log-in":"logIn","log-out":"logOut","check-circle":"checkCircle","check-square":"checkSquare","alert-circle":"alertCircle","eye-off":"eyeOff","file-text":"fileText","book-open":"bookOpen","bar-chart":"barChart","trending-up":"trendingUp","trending-down":"trendingDown","message-square":"messageSquare","calendar-plus":"calendarPlus","refresh-cw":"refreshCw","dollar-sign":"dollarSign","layout-dashboard":"layoutDashboard","device-mobile":"deviceMobile","floppy-disk":"floppyDisk",back:"arrowLeft",prev:"arrowLeft",previous:"arrowLeft",forward:"arrowRight",next:"arrowRight",close:"x",cancel:"x",remove:"delete",trash:"delete",plus:"add",new:"add",pencil:"edit",modify:"edit",store:"save",floppy:"save",magnify:"search",person:"user",account:"user",profile:"user",gear:"settings",config:"settings",preferences:"settings",house:"home",main:"home",done:"check",complete:"check",tick:"check",information:"info",help:"info",alert:"warning",caution:"warning",checkmark:"success",checkCircle:"success",fail:"error",cross:"error",xCircle:"error",spinner:"loader",loading:"loader",wait:"loader",reload:"refresh",update:"refresh",sync:"refresh",show:"eye",view:"eye",hide:"eyeOff",hidden:"eyeOff",secure:"lock",locked:"lock",unsecure:"unlock",unlocked:"unlock",get:"download",fetch:"download",post:"upload",send:"share",export:"share",duplicate:"copy",clone:"copy",email:"mail",envelope:"mail",chat:"message",comment:"message",talk:"message",date:"calendar",schedule:"calendar",time:"clock",watch:"clock",document:"fileText",doc:"fileText",text:"fileText",directory:"folder",dir:"folder",picture:"image",img:"image",movie:"video",film:"video",photo:"camera",capture:"camera",start:"play",run:"play",stop:"pause",halt:"pause",like:"heart",love:"heart",favorite:"star",saveBookmark:"bookmark",notification:"bell",notify:"bell",alarm:"bell",prefs:"settings",lookup:"search",dots:"moreHorizontal",moreMenu:"moreHorizontal",moreOptions:"moreVertical",external:"externalLink",outbound:"externalLink",open:"externalLink",url:"link",hyperlink:"link",graph:"barChart",stats:"barChart",analytics:"barChart",db:"database",storage:"database",pulse:"activity",monitor:"activity",up:"trendingUp",down:"trendingDown",lightning:"zap",bolt:"zap",flash:"zap",security:"shield",protect:"shield",password:"key",secret:"key",signin:"logIn",login:"logIn",enter:"logIn",signout:"logOut",logout:"logOut",exit:"logOut",people:"users",group:"users",team:"users",addUser:"userPlus",invite:"userPlus",read:"book",library:"book",reading:"bookOpen",openBook:"bookOpen",light:"sun",day:"sun",dark:"moon",night:"moon",screen:"monitor",display:"monitor",ai:"brain",intelligence:"brain",think:"brain",idea:"lightbulb",bulb:"lightbulb",inspiration:"lightbulb",magic:"sparkles",stars:"sparkles",glitter:"sparkles"};function ca(e){if(!e||typeof e!="string")return {normalized:e||"",wasAlias:false};let r=na(e),t=xr[e]||xr[r];return t?{normalized:t,wasAlias:true,originalAlias:e}:{normalized:r,wasAlias:false}}var ma={set:"lucide",weight:"regular",size:20,color:"currentColor",strokeWidth:1.25,iconsaxVariant:"line"};var rs=be.createContext(ma);function pa(){return be.useContext(rs)}var ga=be__default.default.forwardRef(({name:e,size:r,className:t,emotion:o,status:a,provider:l,weight:c,animated:b=false,pulse:u=false,spin:k=false,bounce:i=false,variant:x="default","aria-label":f,"aria-hidden":s},p)=>{var A,ye;let d=pa(),g=l||d.set,m=r!=null?r:d.size,h=c||d.weight,v=d.color,C=(A=d.strokeWidth)!=null?A:1.25,R=(ye=d.iconsaxVariant)!=null?ye:"line",[y,T]=be__default.default.useState(false),[K,D]=be__default.default.useState(false);be__default.default.useEffect(()=>{T(true),g==="lucide"?la().then(()=>D(true)):g==="phosphor"?ia().then(()=>D(true)):D(true);},[g]);let $=be__default.default.useMemo(()=>{let ee=o?aa[o]:a?oa[a]:e,{normalized:ve}=ca(ee),Te=da(ve,g);return {normalized:ve,providerName:Te}},[e,o,a,g]),H=$.normalized,V=be__default.default.useMemo(()=>{return null},[g,$.providerName,y,R]),N=br({"text-current":x==="default","text-primary":x==="primary","text-muted-foreground":x==="secondary"||x==="muted","text-green-600 dark:text-green-400":x==="success","text-yellow-600 dark:text-yellow-400":x==="warning","text-destructive":x==="error"});if(!y)return jsxRuntime.jsx("span",{style:{width:m,height:m},className:n(N,t),"aria-hidden":s!==void 0?s:true,"aria-label":f});let w=null;if(g==="phosphor"?(w=ra[H]||null,!w&&K&&(w=er(H,g))):g==="iconsax"?(w=V,w||(w=er(H,g))):w=er(H,g),!w)return (g!=="iconsax"||fr())&&console.warn(`Icon "${H}" not found for provider "${g}"`),jsxRuntime.jsx("span",{ref:p,className:n("inline-flex items-center justify-center rounded-full border-2 border-dashed border-border",N,t),style:{width:m,height:m},"aria-label":f||`\uC544\uC774\uCF58\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: ${H}`,title:`Icon not found: ${H}`,children:jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground","aria-hidden":"true",children:"?"})});let F={size:typeof m=="number"?m:void 0,width:m,height:m,color:v};g==="phosphor"?F.weight=h:F.strokeWidth=C;let j=br({"animate-pulse":u,"animate-spin":k,"animate-bounce":i,"transition-all duration-200 ease-in-out":b}),L={};return f?(L["aria-label"]=f,L["aria-hidden"]=false):s!==void 0?L["aria-hidden"]=s:L["aria-hidden"]=true,jsxRuntime.jsx("span",{ref:p,className:n("inline-flex items-center justify-center",j,N,t),style:{width:m,height:m},...L,children:w&&be__default.default.createElement(w,{...F,className:N,"aria-hidden":true})})});ga.displayName="Icon";var as=be__default.default.memo(ga,(e,r)=>e.name===r.name&&e.size===r.size&&e.className===r.className&&e.emotion===r.emotion&&e.status===r.status&&e.provider===r.provider&&e.animated===r.animated&&e.pulse===r.pulse&&e.spin===r.spin&&e.bounce===r.bounce&&e.variant===r.variant&&e.weight===r.weight&&e["aria-label"]===r["aria-label"]&&e["aria-hidden"]===r["aria-hidden"]),S=as;S.displayName="Icon";var ua=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"smile",...e}));ua.displayName="EmotionIcon";var ba=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"info",...e}));ba.displayName="StatusIcon";var fa=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"loader",status:"loading",spin:true,"aria-label":"\uB85C\uB529 \uC911",...e}));fa.displayName="LoadingIcon";var xa=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"check",status:"success",variant:"success","aria-label":"\uC131\uACF5",...e}));xa.displayName="SuccessIcon";var ha=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"alertCircle",status:"error",variant:"error","aria-label":"\uC624\uB958",...e}));ha.displayName="ErrorIcon";var os={50:"50",100:"100",200:"200",300:"300",400:"400",500:"500",600:"600",700:"700",800:"800",900:"900"};function G(e,r,t=""){return `${t}${e}-${os[r]}`}function He(e,r){return `${e} dark:${r}`}var Mt={default:{border:{light:200,dark:700},background:{light:50,dark:900,opacity:"50"}},outline:{border:{light:300,dark:600},background:"transparent",text:{light:600,dark:400}},elevated:{border:{light:200,dark:700},background:{light:"white",dark:"gray-800"},shadow:"lg"},icon:{background:{light:100,dark:900,opacity:"30"},text:{light:600,dark:400}},badge:{background:{light:50,dark:900,opacity:"30"},text:{light:700,dark:300}}},ns={from:500,to:600,border:{light:400,dark:500}};function ss(e,r){var K,D,$,H,V,N,w,F,j,L,A,ye,ee,ve,Te;let t={default:Mt.default,gradient:ns,outline:Mt.outline,elevated:Mt.elevated,icon:Mt.icon,badge:Mt.badge},o=(K=t.default)!=null&&K.border?He(`border-${G(e,t.default.border.light)}`,`border-${G(e,t.default.border.dark||t.default.border.light)}`):"",a=(D=t.default)!=null&&D.background?He(`bg-${G(e,t.default.background.light)}${t.default.background.opacity?`/${t.default.background.opacity}`:""}`,`bg-${G(e,t.default.background.dark||t.default.background.light)}${t.default.background.opacity?`/${t.default.background.opacity}`:""}`):"",l=n(o,a),c=($=t.gradient)!=null&&$.from?`from-${G(e,t.gradient.from)}`:"",b=(H=t.gradient)!=null&&H.to?`to-${G(e,t.gradient.to)}`:"",u=(V=t.gradient)!=null&&V.border?He(`border-${G(e,t.gradient.border.light)}`,`border-${G(e,t.gradient.border.dark||t.gradient.border.light)}`):"",k=n("bg-gradient-to-br",c,b,u),i=(N=t.outline)!=null&&N.border?`border-2 ${He(`border-${G(e,t.outline.border.light)}`,`border-${G(e,t.outline.border.dark||t.outline.border.light)}`)}`:"",x=((w=t.outline)==null?void 0:w.background)||"bg-transparent",f=(F=t.outline)!=null&&F.text?He(`text-${G(e,t.outline.text.light)}`,`text-${G(e,t.outline.text.dark||t.outline.text.light)}`):"",s=n(i,x,f),p=(j=t.elevated)!=null&&j.border?He(`border-${G(e,t.elevated.border.light)}`,`border-${G(e,t.elevated.border.dark||t.elevated.border.light)}`):"",d=(L=t.elevated)!=null&&L.background?He(`bg-${t.elevated.background.light}`,`bg-${t.elevated.background.dark}`):"",g=(A=t.elevated)!=null&&A.shadow?`shadow-${t.elevated.shadow}`:"",m=n(p,d,g),h=(ye=t.icon)!=null&&ye.background?He(`bg-${G(e,t.icon.background.light)}${t.icon.background.opacity?`/${t.icon.background.opacity}`:""}`,`bg-${G(e,t.icon.background.dark||t.icon.background.light)}${t.icon.background.opacity?`/${t.icon.background.opacity}`:""}`):"",v=(ee=t.icon)!=null&&ee.text?He(`text-${G(e,t.icon.text.light)}`,`text-${G(e,t.icon.text.dark||t.icon.text.light)}`):"",C=n(h,v),R=(ve=t.badge)!=null&&ve.background?He(`bg-${G(e,t.badge.background.light)}${t.badge.background.opacity?`/${t.badge.background.opacity}`:""}`,`bg-${G(e,t.badge.background.dark||t.badge.background.light)}${t.badge.background.opacity?`/${t.badge.background.opacity}`:""}`):"",y=(Te=t.badge)!=null&&Te.text?He(`text-${G(e,t.badge.text.light)}`,`text-${G(e,t.badge.text.dark||t.badge.text.light)}`):"",T=n(R,y);return {default:l,gradient:k,outline:s,elevated:m,icon:C,badge:T}}var hr=new Map;function De(e,r){let t=`${e}-${JSON.stringify({})}`;return hr.has(t)||hr.set(t,ss(e)),hr.get(t)}function tr(e,r){let t="rounded-2xl border transition-all duration-200";switch(e){case "default":return n(t,r.default);case "gradient":return n(t,"text-white",r.gradient);case "outline":return n(t,r.outline);case "elevated":return n(t,r.elevated);default:return t}}var ya=be__default.default.forwardRef(({title:e,value:r,description:t,icon:o,trend:a,variant:l="elevated",color:c="blue",loading:b=false,emptyState:u,className:k,...i},x)=>{let f=De(c),s=l==="gradient",p=s,d=be.useMemo(()=>{let m=tr(l,f);return l==="elevated"?m.replace("rounded-2xl","rounded-3xl"):m},[l,f]),g=m=>typeof m=="number"?m.toLocaleString():m;return !b&&(r==null||r==="")?u?jsxRuntime.jsx("div",{className:k,...i,children:u}):jsxRuntime.jsxs("div",{className:n("rounded-2xl border border-slate-100 dark:border-slate-800 p-6",k),...i,children:[jsxRuntime.jsx("h3",{className:"text-sm font-medium text-slate-500 dark:text-slate-400",children:e}),jsxRuntime.jsx("p",{className:"mt-2 text-sm text-slate-400",children:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."})]}):jsxRuntime.jsxs("div",{ref:x,className:n("p-6 transition-all duration-200 hover:shadow-xl",d,k),...i,children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-4",children:[o&&jsxRuntime.jsx("div",{className:n("w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0",s?"bg-white/20":f.icon),children:typeof o=="string"?jsxRuntime.jsx(S,{name:o,className:n("w-6 h-6",p?"text-white":"")}):o}),e&&jsxRuntime.jsx("span",{className:n("text-sm px-3 py-1 rounded-full font-medium",s?"bg-white/20 text-white":f.badge),children:e})]}),b?jsxRuntime.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded animate-pulse mb-2"}):jsxRuntime.jsx("h3",{className:n("text-3xl font-bold mb-1",p?"text-white":"text-gray-800 dark:text-white"),children:g(r!=null?r:0)}),t&&jsxRuntime.jsx("p",{className:n("text-sm",p?"text-white/90":"text-gray-600 dark:text-gray-300"),children:t}),a&&!b&&jsxRuntime.jsxs("div",{className:"mt-3 flex items-center gap-1",children:[jsxRuntime.jsxs("span",{className:n("text-xs font-medium",a.positive!==false?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"),children:[a.positive!==false?"\u2191":"\u2193"," ",Math.abs(a.value),"%"]}),jsxRuntime.jsx("span",{className:n("text-xs",p?"text-white/70":"text-gray-500 dark:text-gray-400"),children:a.label})]})]})});ya.displayName="StatCard";var va=be__default.default.forwardRef(({title:e,description:r,icon:t,href:o,onClick:a,variant:l="gradient",color:c="blue",loading:b=false,badge:u,className:k,...i},x)=>{let f=De(c),s=l==="gradient",p=s||l==="solid",d=be.useMemo(()=>l==="gradient"?`text-white ${f.gradient}`:l==="outline"?f.outline:{blue:"text-white bg-primary hover:bg-primary/90",purple:"text-white bg-purple-600 hover:bg-purple-700",green:"text-white bg-green-600 hover:bg-green-700",orange:"text-white bg-orange-600 hover:bg-orange-700",red:"text-white bg-red-600 hover:bg-red-700",indigo:"text-white bg-indigo-600 hover:bg-indigo-700",pink:"text-white bg-pink-600 hover:bg-pink-700",gray:"text-white bg-gray-600 hover:bg-gray-700",cyan:"text-white bg-cyan-600 hover:bg-cyan-700"}[c],[l,f,c]),g=n("rounded-2xl p-6 transition-all shadow-lg hover:shadow-xl text-center",u&&"relative",d,k),m=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[u&&jsxRuntime.jsx("span",{className:"absolute top-2 right-2 text-[10px] font-medium bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400 px-1.5 py-0.5 rounded-full",children:u}),t&&jsxRuntime.jsx("div",{className:n("w-12 h-12 rounded-lg flex items-center justify-center mx-auto mb-2",s||l==="solid"?"bg-white/20":l==="outline"?f.icon:""),children:typeof t=="string"?jsxRuntime.jsx(S,{name:t,className:n("w-6 h-6",p?"text-white":"")}):t}),jsxRuntime.jsx("h3",{className:n("text-xl font-semibold mb-1",p?"text-white":""),children:e}),r&&jsxRuntime.jsx("p",{className:n("text-sm",p?"text-white/90":"text-gray-600 dark:text-gray-300"),children:r}),b&&jsxRuntime.jsx("div",{className:"mt-2 h-4 bg-white/20 rounded animate-pulse"})]});return o?jsxRuntime.jsx("a",{ref:x,href:o,className:g,...i,children:m}):jsxRuntime.jsx("button",{ref:x,onClick:a,className:g,...i,children:m})});va.displayName="QuickActionCard";var us={sm:"gap-3",md:"gap-6",lg:"gap-8",xl:"gap-12"},bs={1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4",5:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",6:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"},fs={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6"},ka=be__default.default.forwardRef(({columns:e=4,gap:r="md",responsive:t=true,className:o,children:a,...l},c)=>{let b=t?bs[e]:fs[e];return jsxRuntime.jsx("div",{ref:c,className:n("grid",b,us[r],o),...l,children:a})});ka.displayName="DashboardGrid";var wa=be__default.default.forwardRef(({title:e,items:r,emptyMessage:t="\uD65C\uB3D9 \uB0B4\uC5ED\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",showHeader:o=true,maxItems:a,onViewAll:l,viewAllLabel:c="\uC804\uCCB4 \uBCF4\uAE30",emptyState:b,className:u,...k},i)=>{let x=a?r.slice(0,a):r,f=a&&r.length>a;return jsxRuntime.jsxs("div",{ref:i,className:n("bg-white dark:bg-gray-800 rounded-2xl shadow-lg border border-gray-200 dark:border-gray-700",u),...k,children:[o&&e&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-gray-200 dark:border-gray-700",children:[jsxRuntime.jsx("h2",{className:"text-xl font-bold text-gray-800 dark:text-white flex items-center",children:e}),l&&jsxRuntime.jsxs("button",{onClick:l,"aria-label":`${c} - ${e||"\uD65C\uB3D9 \uB0B4\uC5ED"}`,className:"text-purple-600 dark:text-purple-400 hover:text-purple-700 dark:hover:text-purple-300 font-medium text-sm transition-colors",children:[c," \u2192"]})]}),x.length>0?jsxRuntime.jsxs("div",{className:"divide-y divide-gray-200 dark:divide-gray-700",children:[x.map(s=>jsxRuntime.jsxs("div",{onClick:s.onClick,className:n("p-4 transition-colors",s.onClick&&"hover:bg-gray-50 dark:hover:bg-gray-700/50 cursor-pointer group"),children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-2",children:[jsxRuntime.jsx("div",{className:"flex-1 min-w-0",children:jsxRuntime.jsxs("div",{className:"flex items-start gap-3",children:[s.icon&&jsxRuntime.jsx("div",{className:"w-8 h-8 rounded-lg bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center flex-shrink-0 mt-0.5",children:typeof s.icon=="string"?jsxRuntime.jsx(S,{name:s.icon,className:"w-4 h-4 text-purple-600 dark:text-purple-400"}):s.icon}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsx("h3",{className:"text-base font-semibold text-gray-800 dark:text-white mb-1 truncate",children:s.title}),s.description&&jsxRuntime.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 line-clamp-2",children:s.description})]})]})}),s.badge&&jsxRuntime.jsx("div",{className:"ml-2 flex-shrink-0",children:typeof s.badge=="string"?jsxRuntime.jsx("span",{className:"px-2 py-1 rounded-full text-xs font-medium bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-300",children:s.badge}):s.badge})]}),s.metadata&&Object.keys(s.metadata).length>0&&jsxRuntime.jsx("div",{className:"flex items-center gap-1 flex-wrap mt-2",children:Object.entries(s.metadata).map(([p,d])=>jsxRuntime.jsxs("span",{className:"text-xs bg-purple-100 dark:bg-purple-900/30 text-purple-700 dark:text-purple-300 px-2 py-0.5 rounded",children:[p,": ",String(d)]},p))}),jsxRuntime.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-2",children:jsxRuntime.jsx("time",{dateTime:s.timestamp instanceof Date?s.timestamp.toISOString():typeof s.timestamp=="string"?s.timestamp:void 0,children:Zt(s.timestamp)})})]},s.id)),f&&jsxRuntime.jsx("div",{className:"p-4 text-center border-t border-gray-200 dark:border-gray-700",children:jsxRuntime.jsxs("button",{onClick:l,"aria-label":`\uB354 \uB9CE\uC740 \uD65C\uB3D9 \uBCF4\uAE30 - ${r.length-(a||0)}\uAC1C \uB354`,className:"inline-flex items-center text-sm text-purple-600 dark:text-purple-400 hover:text-purple-700 dark:hover:text-purple-300 font-medium transition-colors",children:[jsxRuntime.jsx("span",{children:"\uB354 \uB9CE\uC740 \uD65C\uB3D9 \uBCF4\uAE30"}),jsxRuntime.jsxs("span",{className:"ml-1",children:["(",r.length-(a||0),"\uAC1C \uB354)"]}),jsxRuntime.jsx("span",{className:"ml-1",children:"\u2192"})]})})]}):b||jsxRuntime.jsxs("div",{className:"text-center py-8",children:[jsxRuntime.jsx("span",{className:"text-4xl mb-3 block",children:"\u{1F4ED}"}),jsxRuntime.jsx("p",{className:"text-gray-500 dark:text-gray-400 text-sm",children:t})]})]})});wa.displayName="ActivityFeed";var vs={basic:{badge:"bg-gradient-to-r from-indigo-500 to-cyan-500 text-white",icon:"text-indigo-600 dark:text-indigo-400"},pro:{badge:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",icon:"text-purple-600 dark:text-purple-400"},premium:{badge:"bg-gradient-to-r from-yellow-400 to-orange-500 text-white",icon:"text-yellow-600 dark:text-yellow-400"},admin:{badge:"bg-gradient-to-r from-red-500 to-pink-500 text-white",icon:"text-red-600 dark:text-red-400"}},ks={basic:"Basic",pro:"Pro",premium:"Premium",admin:"Admin"},Na=be__default.default.forwardRef(({name:e,email:r,avatar:t,avatarAlt:o,greeting:a,memberSince:l,membershipTier:c,membershipLabel:b,onSettingsClick:u,settingsHref:k,variant:i="default",showAvatar:x=true,showMembership:f=true,showSettings:s=true,className:p,...d},g)=>{let m=y=>(typeof y=="string"?new Date(y):y).toLocaleDateString("ko-KR",{year:"numeric",month:"long",day:"numeric"}),h=c||"basic",v=vs[h],C=b||ks[h];return jsxRuntime.jsxs("div",{ref:g,className:n("relative overflow-hidden p-6",{default:"bg-white dark:bg-gray-800 rounded-2xl shadow-lg border border-gray-200 dark:border-gray-700",gradient:"bg-gradient-to-br from-indigo-50 via-purple-50 to-pink-50 dark:from-gray-800 dark:via-gray-800 dark:to-gray-900 rounded-2xl shadow-xl border border-white/20 dark:border-gray-700/20",minimal:"bg-transparent"}[i],p),...d,children:[i==="gradient"&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-indigo-500 via-purple-500 to-pink-500 opacity-10 dark:opacity-20"}),jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-cyan-400 via-indigo-500 to-purple-600 opacity-5 dark:opacity-15"})]}),jsxRuntime.jsxs("div",{className:"relative flex items-start gap-6",children:[s&&(u||k)&&jsxRuntime.jsx("div",{className:"absolute top-0 right-0",children:k?jsxRuntime.jsx("a",{href:k,className:"p-2 text-gray-400 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 transition-colors",title:"\uC124\uC815",children:jsxRuntime.jsx(S,{name:"settings",className:"w-6 h-6"})}):jsxRuntime.jsx("button",{onClick:u,className:"p-2 text-gray-400 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 transition-colors",title:"\uC124\uC815",children:jsxRuntime.jsx(S,{name:"settings",className:"w-6 h-6"})})}),x&&jsxRuntime.jsx("div",{className:"relative flex-shrink-0",children:t?jsxRuntime.jsx("img",{src:t,alt:o||e,className:"w-20 h-20 rounded-full border-4 border-white dark:border-gray-700 shadow-lg object-cover"}):jsxRuntime.jsx("div",{className:"w-20 h-20 rounded-full bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center border-4 border-white dark:border-gray-700 shadow-lg",children:jsxRuntime.jsx("span",{className:"text-2xl font-bold text-white",children:e.charAt(0).toUpperCase()})})}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[a&&jsxRuntime.jsx("div",{className:"text-lg sm:text-xl font-semibold mb-2",children:a.split(" ").map((y,T)=>{let K=/[\u{1F600}-\u{1F64F}]|[\u{1F300}-\u{1F5FF}]|[\u{1F680}-\u{1F6FF}]|[\u{1F1E0}-\u{1F1FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]/u.test(y);return jsxRuntime.jsxs("span",{children:[K?jsxRuntime.jsx("span",{className:"text-gray-900 dark:text-white",children:y}):jsxRuntime.jsx("span",{className:"text-xl sm:text-2xl font-bold bg-gradient-to-r from-indigo-500 to-purple-500 bg-clip-text text-transparent",children:y}),T<a.split(" ").length-1&&" "]},T)})}),jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3 mb-2",children:[jsxRuntime.jsxs("span",{className:"text-xl sm:text-2xl font-bold text-gray-900 dark:text-white truncate",children:[e,"!"]}),f&&c&&jsxRuntime.jsxs("span",{className:n("inline-flex items-center px-3 py-1 rounded-full text-xs font-semibold shadow-lg",v.badge),children:[jsxRuntime.jsx("svg",{className:"w-3 h-3 mr-1",fill:"currentColor",viewBox:"0 0 20 20",children:h==="premium"?jsxRuntime.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}):h==="admin"?jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"}):jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),C]})]}),r&&jsxRuntime.jsx("div",{className:"text-gray-600 dark:text-gray-400 text-sm mb-1 truncate",children:r}),l&&jsxRuntime.jsxs("div",{className:"text-gray-400 text-xs flex items-center gap-1",children:[jsxRuntime.jsx(S,{name:"clock",className:"w-3 h-3"}),"\uAC00\uC785\uC77C ",m(l)]})]})]})]})});Na.displayName="ProfileCard";var Cs={basic:{gradient:"bg-gradient-to-r from-indigo-500 to-cyan-500",label:"Basic"},pro:{gradient:"bg-gradient-to-r from-purple-500 to-pink-500",label:"Pro"},premium:{gradient:"bg-gradient-to-r from-yellow-400 to-orange-500",label:"Premium"},admin:{gradient:"bg-gradient-to-r from-red-500 to-pink-500",label:"Admin"}},Rs={sm:{container:"px-2 py-0.5 text-xs",icon:"w-2.5 h-2.5"},md:{container:"px-3 py-1 text-xs",icon:"w-3 h-3"},lg:{container:"px-4 py-1.5 text-sm",icon:"w-4 h-4"}},Ca=be__default.default.forwardRef(({tier:e,label:r,size:t="md",showIcon:o=true,className:a,...l},c)=>{let b=Cs[e],u=Rs[t],k=r||b.label,i=()=>o?e==="premium"?jsxRuntime.jsx("svg",{className:u.icon,fill:"currentColor",viewBox:"0 0 20 20",children:jsxRuntime.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}):e==="admin"?jsxRuntime.jsx("svg",{className:u.icon,fill:"currentColor",viewBox:"0 0 20 20",children:jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"})}):jsxRuntime.jsx("svg",{className:u.icon,fill:"currentColor",viewBox:"0 0 20 20",children:jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}):null;return jsxRuntime.jsxs("span",{ref:c,className:n("inline-flex items-center rounded-full font-semibold text-white shadow-lg",b.gradient,u.container,a),...l,children:[o&&jsxRuntime.jsx("span",{className:"mr-1",children:i()}),k]})});Ca.displayName="MembershipBadge";var Ss={blue:{default:"bg-gradient-to-t from-indigo-500 to-cyan-400",highlight:"bg-gradient-to-t from-cyan-600 to-cyan-500 shadow-lg"},purple:{default:"bg-gradient-to-t from-purple-500 to-purple-400",highlight:"bg-gradient-to-t from-purple-600 to-purple-500 shadow-lg"},green:{default:"bg-gradient-to-t from-green-500 to-green-400",highlight:"bg-gradient-to-t from-green-600 to-green-500 shadow-lg"},orange:{default:"bg-gradient-to-t from-orange-500 to-orange-400",highlight:"bg-gradient-to-t from-orange-600 to-orange-500 shadow-lg"},red:{default:"bg-gradient-to-t from-red-500 to-red-400",highlight:"bg-gradient-to-t from-red-600 to-red-500 shadow-lg"},indigo:{default:"bg-gradient-to-t from-indigo-500 to-indigo-400",highlight:"bg-gradient-to-t from-indigo-600 to-indigo-500 shadow-lg"},pink:{default:"bg-gradient-to-t from-pink-500 to-pink-400",highlight:"bg-gradient-to-t from-pink-600 to-pink-500 shadow-lg"},gray:{default:"bg-gradient-to-t from-gray-500 to-gray-400",highlight:"bg-gradient-to-t from-gray-600 to-gray-500 shadow-lg"},cyan:{default:"bg-gradient-to-t from-cyan-500 to-cyan-400",highlight:"bg-gradient-to-t from-cyan-600 to-cyan-500 shadow-lg"}},rr=be__default.default.forwardRef(({data:e,labels:r,maxValue:t,height:o=160,showTooltip:a=true,showStats:l=true,color:c="blue",highlightToday:b=true,todayIndex:u,className:k,...i},x)=>{let f=Ss[c],s=t||Math.max(...e,1),p=Math.max(s,10),d=u!==void 0?u:e.length-1,g=y=>p===0?8:Math.max(y/p*o,8),m=e.reduce((y,T)=>y+T,0),h=e.length>0?Math.round(m/e.length):0,v=Math.max(...e);be__default.default.useId();let R=r&&r.length>0?`\uBBF8\uB2C8 \uB9C9\uB300 \uADF8\uB798\uD504 - ${r.length}\uAC1C \uD56D\uBAA9, \uCD5C\uB300\uAC12 ${v.toLocaleString()}, \uD3C9\uADE0 ${h.toLocaleString()}`:`\uBBF8\uB2C8 \uB9C9\uB300 \uADF8\uB798\uD504 - ${e.length}\uAC1C \uD56D\uBAA9, \uCD5C\uB300\uAC12 ${v.toLocaleString()}, \uD3C9\uADE0 ${h.toLocaleString()}`;return jsxRuntime.jsxs("div",{ref:x,role:"img","aria-label":R,className:n("w-full",k),...i,children:[jsxRuntime.jsxs("div",{className:"flex items-end justify-between gap-2 px-2 relative",style:{height:`${o+40}px`},children:[jsxRuntime.jsx("div",{className:"absolute inset-x-2 bottom-8 border-t border-gray-200 dark:border-gray-700 opacity-50"}),e.map((y,T)=>{let K=b&&T===d,D=g(y),$=K?f.highlight:f.default;return jsxRuntime.jsxs("div",{className:"flex flex-col items-center flex-1 group relative",children:[a&&jsxRuntime.jsxs("div",{className:"absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-2 py-1 bg-gray-900 dark:bg-gray-700 text-white text-xs rounded opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none whitespace-nowrap z-10",children:[y,"\uAC1C",jsxRuntime.jsx("div",{className:"absolute top-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent border-t-gray-900 dark:border-t-gray-700"})]}),jsxRuntime.jsx("div",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 mb-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:y}),jsxRuntime.jsx("div",{className:"relative w-full flex-1 flex items-end",children:jsxRuntime.jsx("div",{className:n("w-full rounded-t-lg transition-all duration-500 ease-out group-hover:scale-105",$),style:{height:`${D}px`,minHeight:"8px"},children:y>0&&jsxRuntime.jsx("div",{className:"absolute -top-1 left-1/2 transform -translate-x-1/2 w-2 h-2 bg-white dark:bg-gray-800 rounded-full shadow-sm"})})}),r&&r[T]&&jsxRuntime.jsx("div",{className:n("text-xs font-medium mt-2 transition-colors duration-200",K?"text-purple-600 dark:text-purple-400":"text-gray-500 dark:text-gray-400"),children:r[T]})]},T)})]}),l&&jsxRuntime.jsxs("div",{className:"mt-4 flex justify-between items-center text-xs text-gray-500 dark:text-gray-400 px-2",children:[jsxRuntime.jsxs("div",{children:["\uCD1D: ",m]}),jsxRuntime.jsxs("div",{children:["\uD3C9\uADE0: ",h]}),jsxRuntime.jsxs("div",{children:["\uCD5C\uACE0: ",v]})]})]})});rr.displayName="MiniBarChart";var Ls={blue:"bg-gradient-to-br from-indigo-50 to-indigo-100 dark:from-indigo-900/20 dark:to-indigo-900/20",purple:"bg-gradient-to-br from-purple-50 to-pink-100 dark:from-purple-900/20 dark:to-pink-900/20",green:"bg-gradient-to-br from-green-50 to-emerald-100 dark:from-green-900/20 dark:to-emerald-900/20",orange:"bg-gradient-to-br from-orange-50 to-amber-100 dark:from-orange-900/20 dark:to-amber-900/20",red:"bg-gradient-to-br from-red-50 to-rose-100 dark:from-red-900/20 dark:to-rose-900/20",indigo:"bg-gradient-to-br from-indigo-50 to-indigo-100 dark:from-indigo-900/20 dark:to-indigo-900/20",pink:"bg-gradient-to-br from-pink-50 to-rose-100 dark:from-pink-900/20 dark:to-rose-900/20",gray:"bg-gradient-to-br from-gray-50 to-gray-100 dark:from-gray-900/20 dark:to-gray-800/20",cyan:"bg-gradient-to-br from-cyan-50 to-cyan-100 dark:from-cyan-900/20 dark:to-cyan-900/20"},Ta={blue:"bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-700 hover:to-indigo-700",purple:"bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700",green:"bg-gradient-to-r from-green-600 to-emerald-600 hover:from-green-700 hover:to-emerald-700",orange:"bg-gradient-to-r from-orange-600 to-amber-600 hover:from-orange-700 hover:to-amber-700",red:"bg-gradient-to-r from-red-600 to-rose-600 hover:from-red-700 hover:to-rose-700",indigo:"bg-gradient-to-r from-indigo-600 to-cyan-600 hover:from-indigo-700 hover:to-cyan-700",pink:"bg-gradient-to-r from-pink-600 to-rose-600 hover:from-pink-700 hover:to-rose-700",gray:"bg-gradient-to-r from-gray-600 to-gray-700 hover:from-gray-700 hover:to-gray-800",cyan:"bg-gradient-to-r from-cyan-600 to-teal-600 hover:from-cyan-700 hover:to-teal-700"},Sa=be__default.default.forwardRef(({title:e,value:r,subtitle:t,icon:o,color:a="blue",variant:l="default",href:c,onClick:b,loading:u=false,badge:k,footer:i,showAction:x=true,actionLabel:f="\uC790\uC138\uD788 \uBCF4\uAE30",className:s,...p},d)=>{let g=De(a),m=l==="gradient",h=m,v=be.useMemo(()=>l==="default"?`rounded-xl shadow-lg ${Ls[a]}`:l==="gradient"?`rounded-xl shadow-xl text-white ${g.gradient}`:`rounded-xl ${g.outline}`,[l,g,a]),C=y=>typeof y=="number"?y.toLocaleString():y;return jsxRuntime.jsxs("div",{ref:d,className:n("p-6 flex flex-col min-h-[220px] relative overflow-hidden group hover:shadow-xl transition-all duration-300",v,s),...p,children:[jsxRuntime.jsx("div",{className:n("absolute top-0 right-0 w-32 h-32 bg-gradient-to-bl to-transparent rounded-full -translate-y-16 translate-x-16",a==="blue"?"from-cyan-400/10":a==="purple"?"from-purple-400/10":a==="green"?"from-green-400/10":a==="orange"?"from-orange-400/10":a==="red"?"from-red-400/10":a==="indigo"?"from-indigo-400/10":a==="pink"?"from-pink-400/10":"from-gray-400/10")}),jsxRuntime.jsx("div",{className:n("absolute bottom-0 left-0 w-24 h-24 bg-gradient-to-tr to-transparent rounded-full translate-y-12 -translate-x-12",a==="blue"?"from-cyan-400/10":a==="purple"?"from-purple-400/10":a==="green"?"from-green-400/10":a==="orange"?"from-orange-400/10":a==="red"?"from-red-400/10":a==="indigo"?"from-indigo-400/10":a==="pink"?"from-pink-400/10":"from-gray-400/10")}),jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4 relative z-10",children:[jsxRuntime.jsxs("div",{className:"flex items-center",children:[o&&jsxRuntime.jsx("div",{className:n("p-2 rounded-lg",m?"bg-white/20":g.icon),children:typeof o=="string"?jsxRuntime.jsx(S,{name:o,className:n("w-6 h-6",h?"text-white":"")}):o}),jsxRuntime.jsx("span",{className:n("text-lg font-semibold ml-3",h?"text-white":"text-gray-900 dark:text-white"),children:e})]}),k&&jsxRuntime.jsx("div",{className:"text-xs font-medium",children:typeof k=="string"?jsxRuntime.jsx("span",{className:n("px-2 py-1 rounded-full",m?"bg-white/20 text-white":"bg-white/50 dark:bg-gray-800/50 text-gray-700 dark:text-gray-300"),children:k}):k})]}),jsxRuntime.jsx("div",{className:"flex-1 flex flex-col justify-center relative z-10",children:u?jsxRuntime.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded animate-pulse mb-2"}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:n("text-3xl font-bold mb-2",h?"text-white":"text-gray-900 dark:text-white"),children:C(r)}),t&&jsxRuntime.jsx("div",{className:n("text-sm mb-4",h?"text-white/90":"text-gray-600 dark:text-gray-400"),children:t})]})}),i&&jsxRuntime.jsx("div",{className:"relative z-10 mb-4",children:i}),x&&(c||b)&&jsxRuntime.jsx("div",{className:"relative z-10",children:c?jsxRuntime.jsx("a",{href:c,className:n("block w-full text-center py-3 rounded-lg font-semibold text-white hover:shadow-lg transition-all duration-200 group-hover:scale-[1.02]",Ta[a]),children:f}):jsxRuntime.jsx("button",{onClick:b,className:n("block w-full text-center py-3 rounded-lg font-semibold text-white hover:shadow-lg transition-all duration-200 group-hover:scale-[1.02]",Ta[a]),children:f})})]})});Sa.displayName="SummaryCard";var Es={info:{container:"bg-gradient-to-r from-indigo-50 to-indigo-50 dark:from-indigo-900/20 dark:to-indigo-900/20",border:"border-indigo-200/50 dark:border-indigo-700/30",dot:"bg-primary"},warning:{container:"bg-gradient-to-r from-orange-50 to-red-50 dark:from-orange-900/20 dark:to-red-900/20",border:"border-orange-200/50 dark:border-orange-700/30",dot:"bg-red-500"},error:{container:"bg-gradient-to-r from-red-50 to-rose-50 dark:from-red-900/20 dark:to-rose-900/20",border:"border-red-200/50 dark:border-red-700/30",dot:"bg-red-600"},success:{container:"bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-900/20 dark:to-emerald-900/20",border:"border-green-200/50 dark:border-green-700/30",dot:"bg-green-500"}},Hs={container:"bg-gradient-to-r from-gray-50 to-gray-100 dark:from-gray-900/20 dark:to-gray-800/20",border:"border-gray-200/50 dark:border-gray-700/30",dot:"bg-gray-500"},Da=be__default.default.forwardRef(({title:e="\uC54C\uB9BC \uBC0F \uACF5\uC9C0",items:r,emptyMessage:t="\uC54C\uB9BC\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",maxItems:o,onViewAll:a,viewAllLabel:l="\uBAA8\uB4E0 \uC54C\uB9BC \uBCF4\uAE30",showHeader:c=true,showCount:b=true,emptyState:u,className:k,...i},x)=>{let f=o?r.slice(0,o):r,s=o&&r.length>o,p=d=>d?Es[d]:Hs;return jsxRuntime.jsxs("div",{ref:x,className:n("bg-white dark:bg-gray-800 rounded-xl shadow p-6",k),...i,children:[c&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntime.jsxs("div",{className:"flex items-center",children:[jsxRuntime.jsx("div",{className:"p-2 bg-orange-500/10 rounded-lg mr-3",children:jsxRuntime.jsx(S,{name:"bell",className:"w-6 h-6 text-orange-600 dark:text-orange-400"})}),jsxRuntime.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:e})]}),b&&r.length>0&&jsxRuntime.jsxs("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-orange-100 text-orange-800 dark:bg-orange-900/30 dark:text-orange-300",children:[r.length,"\uAC1C"]})]}),f.length>0?jsxRuntime.jsx("div",{className:"space-y-3",children:f.map(d=>{let g=p(d.type),m=jsxRuntime.jsx("div",{className:n("p-3 rounded-lg border",g.container,g.border,(d.onClick||d.href)&&"cursor-pointer hover:shadow-md transition-all duration-200"),children:jsxRuntime.jsxs("div",{className:"flex items-start",children:[jsxRuntime.jsx("div",{className:n("w-2 h-2 rounded-full mt-2 mr-3 flex-shrink-0",g.dot)}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-1",children:[jsxRuntime.jsx("span",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:d.title}),jsxRuntime.jsx("time",{dateTime:d.timestamp instanceof Date?d.timestamp.toISOString():typeof d.timestamp=="string"?d.timestamp:void 0,className:"text-xs text-gray-500 dark:text-gray-400 ml-2 flex-shrink-0",children:Zt(d.timestamp)})]}),jsxRuntime.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:d.message})]})]})});return d.href?jsxRuntime.jsx("a",{href:d.href,children:m},d.id):d.onClick?jsxRuntime.jsx("div",{onClick:d.onClick,children:m},d.id):jsxRuntime.jsx("div",{children:m},d.id)})}):u||jsxRuntime.jsxs("div",{className:"text-center py-8",children:[jsxRuntime.jsx(S,{name:"bell",className:"w-12 h-12 text-gray-400 dark:text-gray-500 mx-auto mb-3"}),jsxRuntime.jsx("p",{className:"text-gray-500 dark:text-gray-400 text-sm",children:t})]}),s&&a&&jsxRuntime.jsx("div",{className:"mt-4 text-center",children:jsxRuntime.jsxs("button",{onClick:a,className:"text-sm text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 font-medium transition-colors",children:[l," (",r.length-(o||0),"\uAC1C \uB354)"]})})]})});Da.displayName="NotificationCard";var Ia=be__default.default.forwardRef(({title:e,value:r,description:t,icon:o,trend:a,chartData:l,chartLabels:c,variant:b="elevated",color:u="blue",loading:k=false,showChart:i=false,className:x,...f},s)=>{let p=De(u),d=b==="gradient",g=d,m=be.useMemo(()=>{let v=tr(b,p);return b==="elevated"?v.replace("rounded-2xl","rounded-3xl"):v},[b,p]),h=v=>typeof v=="number"?v.toLocaleString():v;return jsxRuntime.jsxs("div",{ref:s,className:n("p-6 transition-all duration-200 hover:shadow-xl",m,x),...f,children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-4",children:[o&&jsxRuntime.jsx("div",{className:n("w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0",d?"bg-white/20":p.icon),children:typeof o=="string"?jsxRuntime.jsx(S,{name:o,className:n("w-6 h-6",g?"text-white":"")}):o}),e&&jsxRuntime.jsx("span",{className:n("text-sm px-3 py-1 rounded-full font-medium",d?"bg-white/20 text-white":p.badge),children:e})]}),k?jsxRuntime.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded animate-pulse mb-2"}):jsxRuntime.jsx("h3",{className:n("text-3xl font-bold mb-1",g?"text-white":"text-gray-800 dark:text-white"),children:h(r)}),t&&jsxRuntime.jsx("p",{className:n("text-sm mb-3",g?"text-white/90":"text-gray-600 dark:text-gray-300"),children:t}),i&&l&&l.length>0&&jsxRuntime.jsx("div",{className:"mt-4 mb-3",children:jsxRuntime.jsx(rr,{data:l,labels:c,color:u,height:100,showStats:false})}),a&&!k&&jsxRuntime.jsxs("div",{className:"mt-3 flex items-center gap-1",children:[jsxRuntime.jsxs("span",{className:n("text-xs font-medium",a.positive!==false?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"),children:[a.positive!==false?"\u2191":"\u2193"," ",Math.abs(a.value),"%"]}),jsxRuntime.jsx("span",{className:n("text-xs",g?"text-white/70":"text-gray-500 dark:text-gray-400"),children:a.label})]})]})});Ia.displayName="MetricCard";var Bs={blue:"bg-indigo-500",purple:"bg-purple-500",green:"bg-green-500",orange:"bg-orange-500",red:"bg-red-500",indigo:"bg-indigo-500",pink:"bg-pink-500",gray:"bg-gray-500",cyan:"bg-cyan-500"},zs={sm:{container:"p-4",icon:"w-8 h-8",iconSize:"w-4 h-4",title:"text-sm",value:"text-xl",progress:"h-1.5"},md:{container:"p-6",icon:"w-12 h-12",iconSize:"w-6 h-6",title:"text-base",value:"text-2xl",progress:"h-2"},lg:{container:"p-8",icon:"w-16 h-16",iconSize:"w-8 h-8",title:"text-lg",value:"text-3xl",progress:"h-3"}},La=be__default.default.forwardRef(({title:e,current:r,total:t,unit:o="",description:a,icon:l,color:c="blue",variant:b="elevated",showPercentage:u=true,showLabel:k=true,size:i="md",loading:x=false,className:f,...s},p)=>{let d=De(c),g=zs[i],m=t>0?Math.min(Math.max(r/t*100,0),100):0,h=b==="gradient",C={default:`rounded-2xl border ${d.default}`,gradient:`rounded-2xl border text-white ${d.gradient}`,outline:`rounded-2xl border-2 ${d.outline}`,elevated:`rounded-3xl border ${d.elevated}`}[b];return jsxRuntime.jsxs("div",{ref:p,className:n("transition-all duration-200 hover:shadow-xl",C,g.container,f),...s,children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-4",children:[l&&jsxRuntime.jsx("div",{className:n("rounded-lg flex items-center justify-center flex-shrink-0",g.icon,h?"bg-white/20":d.icon),children:typeof l=="string"?jsxRuntime.jsx(S,{name:l,className:n(g.iconSize,h?"text-white":"")}):l}),jsxRuntime.jsxs("div",{className:"flex-1 ml-4",children:[jsxRuntime.jsx("h3",{className:n("font-semibold mb-1",g.title,h?"text-white":"text-gray-800 dark:text-white"),children:e}),a&&jsxRuntime.jsx("p",{className:n("text-sm",h?"text-white/90":"text-gray-600 dark:text-gray-400"),children:a})]})]}),x?jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"}),jsxRuntime.jsx("div",{className:"h-2 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex items-baseline justify-between mb-2",children:[jsxRuntime.jsxs("span",{className:n("font-bold",g.value,h?"text-white":`text-${c}-600 dark:text-${c}-400`),children:[r.toLocaleString(),o&&jsxRuntime.jsx("span",{className:"text-sm ml-1",children:o})]}),k&&jsxRuntime.jsxs("span",{className:n("text-sm",h?"text-white/80":"text-gray-600 dark:text-gray-400"),children:["/ ",t.toLocaleString(),o&&jsxRuntime.jsx("span",{className:"ml-1",children:o})]})]}),jsxRuntime.jsx("div",{className:"w-full bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden",children:jsxRuntime.jsx("div",{className:n("rounded-full transition-all duration-500",g.progress,h?`bg-gradient-to-r ${d.gradient.replace("bg-gradient-to-br","bg-gradient-to-r").trim()}`:Bs[c]),style:{width:`${m}%`}})}),u&&jsxRuntime.jsx("div",{className:"mt-2 flex justify-end",children:jsxRuntime.jsxs("span",{className:n("text-xs font-semibold",h?"text-white/90":`text-${c}-600 dark:text-${c}-400`),children:[m.toFixed(1),"%"]})})]})]})});La.displayName="ProgressCard";var Vs={default:{icon:"text-gray-400 dark:text-gray-500",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},warning:{icon:"text-yellow-500 dark:text-yellow-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},info:{icon:"text-indigo-500 dark:text-indigo-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},error:{icon:"text-red-500 dark:text-red-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},success:{icon:"text-green-500 dark:text-green-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"}},Ws={sm:{container:"py-8",icon:"w-8 h-8 mb-3",title:"text-base",description:"text-sm",button:"text-sm px-4 py-2"},md:{container:"py-12",icon:"w-12 h-12 mb-4",title:"text-lg",description:"text-sm",button:"text-sm px-6 py-2"},lg:{container:"py-16",icon:"w-16 h-16 mb-6",title:"text-xl",description:"text-base",button:"text-base px-8 py-3"}},Le=be__default.default.forwardRef(({icon:e="inbox",title:r,description:t,actionText:o,actionHref:a,actionOnClick:l,variant:c="default",size:b="md",className:u,...k},i)=>{let x=Vs[c],f=Ws[b],s=o&&(a||l)&&jsxRuntime.jsx("div",{className:"mt-6",children:a?jsxRuntime.jsx("a",{href:a,"aria-label":o,className:n("inline-flex items-center justify-center rounded-lg font-medium bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 border border-gray-300 dark:border-gray-600 transition-colors duration-200",f.button),children:o}):jsxRuntime.jsx("button",{onClick:l,"aria-label":o,className:n("inline-flex items-center justify-center rounded-lg font-medium bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 border border-gray-300 dark:border-gray-600 transition-colors duration-200",f.button),children:o})});return jsxRuntime.jsxs("div",{ref:i,className:n("text-center",f.container,u),...k,children:[e&&jsxRuntime.jsx("div",{className:n("mx-auto",x.icon),children:typeof e=="string"?jsxRuntime.jsx(S,{name:e,className:n("w-full h-full",x.icon)}):e}),jsxRuntime.jsx("h3",{className:n("font-semibold mb-2",x.title,f.title),children:r}),t&&jsxRuntime.jsx("p",{className:n("mb-4",x.description,f.description),children:t}),s]})});Le.displayName="DashboardEmptyState";var Et=be__default.default.forwardRef(({className:e,content:r,children:t,position:o="top",variant:a="default",delay:l=300,disabled:c=false,...b},u)=>{let[k,i]=be__default.default.useState(false),[x,f]=be__default.default.useState({x:0,y:0}),s=be__default.default.useRef(void 0),p=be__default.default.useRef(null),d=C=>{var D;if(c)return;let R=C.currentTarget.getBoundingClientRect();(D=p.current)==null?void 0:D.getBoundingClientRect();let T=0,K=0;switch(o){case "top":T=R.left+R.width/2,K=R.top-8;break;case "bottom":T=R.left+R.width/2,K=R.bottom+8;break;case "left":T=R.left-8,K=R.top+R.height/2;break;case "right":T=R.right+8,K=R.top+R.height/2;break}f({x:T,y:K}),s.current=window.setTimeout(()=>{i(true);},l);},g=()=>{s.current&&clearTimeout(s.current),i(false);};be__default.default.useEffect(()=>()=>{s.current&&clearTimeout(s.current);},[]);let m=()=>{switch(a){case "light":return "bg-popover text-popover-foreground border border-border shadow-lg";case "dark":return "bg-gray-900 text-white shadow-lg";default:return "bg-gray-800 text-white shadow-lg"}},v=()=>{switch(o){case "top":return "top-full left-1/2 -translate-x-1/2 border-t-gray-800 dark:border-t-gray-800";case "bottom":return "bottom-full left-1/2 -translate-x-1/2 border-b-gray-800 dark:border-b-gray-800";case "left":return "left-full top-1/2 -translate-y-1/2 border-l-gray-800 dark:border-l-gray-800";case "right":return "right-full top-1/2 -translate-y-1/2 border-r-gray-800 dark:border-r-gray-800";default:return "top-full left-1/2 -translate-x-1/2 border-t-gray-800 dark:border-t-gray-800"}};return jsxRuntime.jsxs("div",{ref:u,className:n("relative inline-block",e),onMouseEnter:d,onMouseLeave:g,...b,children:[t,k&&jsxRuntime.jsxs("div",{ref:p,className:n("fixed z-50 px-3 py-2 text-sm rounded-lg whitespace-nowrap pointer-events-none",m()),style:{left:`${x.x}px`,top:`${x.y}px`,transform:"translate(-50%, -50%)"},children:[r,jsxRuntime.jsx("div",{className:n("absolute w-0 h-0 border-4 border-transparent",v())})]})]})});Et.displayName="Tooltip";var Us=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx(Et,{ref:t,variant:"light",className:e,...r}));Us.displayName="TooltipLight";var Gs=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx(Et,{ref:t,variant:"dark",className:e,...r}));Gs.displayName="TooltipDark";var js=72,Ys=264,Pa=be__default.default.forwardRef(({logo:e,productSwitcher:r,sections:t,footerActions:o,isCollapsed:a,defaultCollapsed:l=false,onToggleCollapsed:c,collapsedWidth:b=js,expandedWidth:u=Ys,mobileBreakpoint:k=1024,overlayBackground:i="rgba(15, 23, 42, 0.45)",variant:x="default",hideToggle:f=false,itemClassName:s,activeClassName:p,isMobileOpen:d,onMobileOpenChange:g,hideMobileToggle:m=false,className:h,...v},C)=>{let[R,y]=be__default.default.useState(l),[T,K]=be__default.default.useState(false),[D,$]=be__default.default.useState(false),H=typeof a=="boolean"?a:R,V=typeof d=="boolean"?d:T,N=L=>{g==null||g(L),typeof d!="boolean"&&K(L);};be__default.default.useEffect(()=>{let L=()=>$(window.innerWidth<=k);return L(),window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)},[k]);let w=()=>{let L=!H;y(L),c==null||c(L);},F=H?b:u,j=jsxRuntime.jsxs("aside",{ref:C,role:"navigation","aria-label":"\uB300\uC2DC\uBCF4\uB4DC \uB124\uBE44\uAC8C\uC774\uC158",className:n("flex h-full flex-col overflow-hidden px-3 py-4 transition-[width] duration-200",x==="transparent"?"border-r border-slate-200/40 dark:border-slate-800/60":"border-r border-slate-200/60 bg-white/95 shadow-sm dark:border-slate-800 dark:bg-slate-950/80 backdrop-blur",h),style:{width:F,minWidth:F},...v,children:[jsxRuntime.jsxs("div",{className:"mb-6 flex items-center justify-between gap-2 px-1",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[e,!H&&r]}),!f&&jsxRuntime.jsxs("button",{type:"button",onClick:w,"aria-label":H?"\uC0AC\uC774\uB4DC\uBC14 \uD3BC\uCE58\uAE30":"\uC0AC\uC774\uB4DC\uBC14 \uC811\uAE30","aria-expanded":!H,className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 text-slate-500 transition-colors hover:bg-slate-100 dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800",children:[jsxRuntime.jsx(S,{name:H?"chevronRight":"chevronLeft",className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"\uC0AC\uC774\uB4DC\uBC14 \uD1A0\uAE00"})]})]}),jsxRuntime.jsx("div",{className:"flex-1 space-y-6 overflow-y-auto",children:t.map(L=>jsxRuntime.jsxs("div",{className:"space-y-2",children:[!H&&L.label&&jsxRuntime.jsx("div",{className:"px-3 text-xs font-medium uppercase tracking-wide text-slate-400 dark:text-slate-500",role:"heading","aria-level":2,children:L.label}),jsxRuntime.jsx("nav",{className:"space-y-1","aria-label":L.label||"\uB124\uBE44\uAC8C\uC774\uC158",children:L.items.map(A=>{let ve=n("group flex w-full items-center rounded-lg px-3 py-2 text-sm font-medium transition focus:outline-none focus-visible:ring-1 focus-visible:ring-ring/50",A.active?p||"bg-indigo-50 text-indigo-700 dark:bg-indigo-500/20 dark:text-indigo-100":s||"text-slate-600 hover:bg-slate-100 dark:text-slate-400 dark:hover:bg-slate-800"),Te=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[A.icon&&jsxRuntime.jsx("span",{className:"mr-3",children:typeof A.icon=="string"?jsxRuntime.jsx(S,{name:A.icon,className:"h-5 w-5",variant:"inherit"}):A.icon}),!H&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"flex-1 text-left",children:A.label}),A.badge&&jsxRuntime.jsx("span",{className:"text-xs text-slate-400",children:A.badge})]})]}),ie=()=>{D&&N(false);},bt=A.href?jsxRuntime.jsx("a",{href:A.href,className:ve,"aria-current":A.active?"page":void 0,onClick:ie,children:Te},A.id):jsxRuntime.jsx("button",{type:"button",onClick:()=>{var I;(I=A.onClick)==null||I.call(A),ie();},className:ve,"aria-pressed":A.active,children:Te},A.id);return H?jsxRuntime.jsx(Et,{content:A.label,children:bt},A.id):bt})})]},L.id))}),jsxRuntime.jsxs("div",{className:"mt-4 border-t border-slate-100 pt-4 dark:border-slate-800",children:[o,jsxRuntime.jsx("div",{className:"mt-2 hidden text-xs text-slate-400 lg:block",children:jsxRuntime.jsx("span",{children:"\u24D2 HUA Labs"})})]})]});return jsxRuntime.jsx(jsxRuntime.Fragment,{children:D?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[!m&&jsxRuntime.jsx("button",{className:"fixed top-3 left-3 z-30 inline-flex h-10 w-10 items-center justify-center rounded-xl border border-slate-200 bg-white shadow-md dark:border-slate-700 dark:bg-slate-900 dark:text-slate-200",onClick:()=>N(true),children:jsxRuntime.jsx(S,{name:"menu",className:"h-5 w-5"})}),V&&jsxRuntime.jsxs("div",{className:"fixed inset-0 z-40 flex",children:[jsxRuntime.jsx("div",{className:"absolute inset-0",style:{backgroundColor:i},onClick:()=>N(false)}),jsxRuntime.jsxs("div",{className:"relative z-50 h-full bg-white dark:bg-slate-950",children:[j,jsxRuntime.jsx("button",{className:"absolute top-4 right-4 inline-flex h-10 w-10 items-center justify-center rounded-xl text-slate-500 hover:bg-slate-100 dark:text-slate-400 dark:hover:bg-slate-800 transition-colors",onClick:()=>N(false),children:jsxRuntime.jsx(S,{name:"close",className:"h-5 w-5"})})]})]})]}):j})});Pa.displayName="DashboardSidebar";var vr=be__default.default.forwardRef(({className:e,variant:r="default",size:t="md",...o},a)=>{let l=()=>{switch(r){case "bordered":return "border border-border divide-x divide-border";case "striped":return "divide-y divide-border";default:return ""}},c=()=>{switch(t){case "sm":return "text-sm";case "lg":return "text-base";default:return "text-sm"}};return jsxRuntime.jsx("div",{className:"w-full overflow-auto",children:jsxRuntime.jsx("table",{ref:a,className:n("w-full caption-bottom",l(),c(),e),...o})})});vr.displayName="Table";var kr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("thead",{ref:t,className:n("[&_tr]:border-b",e),...r}));kr.displayName="TableHeader";var wr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("tbody",{ref:t,className:n("[&_tr:last-child]:border-0",e),...r}));wr.displayName="TableBody";var qs=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("tfoot",{ref:t,className:n("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r}));qs.displayName="TableFooter";var Ct=be__default.default.forwardRef(({className:e,variant:r="default",...t},o)=>jsxRuntime.jsx("tr",{ref:o,className:n("border-b transition-colors data-[state=selected]:bg-muted/50",r==="hover"?"hover:bg-muted/50":"",e),...t}));Ct.displayName="TableRow";var Nr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("th",{ref:t,className:n("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...r}));Nr.displayName="TableHead";var At=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("td",{ref:t,className:n("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...r}));At.displayName="TableCell";var Cr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("caption",{ref:t,className:n("mt-4 text-sm text-muted-foreground",e),...r}));Cr.displayName="TableCaption";var Xs=classVarianceAuthority.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{default:"bg-[var(--badge-default-bg)] text-[var(--badge-default-text)] hover:opacity-80",secondary:"bg-[var(--badge-secondary-bg)] text-[var(--badge-secondary-text)] hover:opacity-80",destructive:"bg-[var(--badge-destructive-bg)] text-slate-50 hover:opacity-80",error:"bg-[var(--badge-destructive-bg)] text-slate-50 hover:opacity-80",outline:"bg-transparent text-[var(--badge-outline-text)] border border-[var(--badge-outline-border)] hover:bg-[var(--badge-outline-hover-bg)]",glass:"bg-[var(--badge-glass-bg)] backdrop-blur-sm border border-[var(--badge-glass-border)] text-[var(--badge-glass-text)] hover:opacity-80"}},defaultVariants:{variant:"default"}}),yt=be__default.default.memo(be__default.default.forwardRef(({className:e,variant:r="default",...t},o)=>jsxRuntime.jsx("div",{ref:o,className:n(Xs({variant:r}),e),...t})));yt.displayName="Badge";var ei=classVarianceAuthority.cva("block",{variants:{variant:{text:"rounded w-full h-4",circular:"rounded-full w-10 h-10",rounded:"rounded-lg w-full h-[200px]",rectangular:"rounded-none w-full h-[200px]"},animation:{pulse:"animate-pulse bg-muted",wave:"bg-muted",shimmer:"bg-muted"}},defaultVariants:{variant:"text",animation:"pulse"}}),Ve=be__default.default.forwardRef(({className:e,variant:r="text",width:t,height:o,animation:a="pulse",...l},c)=>{let b=()=>a==="wave"||a==="shimmer"?{background:"linear-gradient(90deg, hsl(var(--muted)) 0%, hsl(var(--muted-foreground) / 0.2) 50%, hsl(var(--muted)) 100%)",backgroundSize:"200% 100%",animation:"shimmer 1.5s ease-in-out infinite"}:{};return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[(a==="wave"||a==="shimmer")&&jsxRuntime.jsx("style",{children:`
1
+ 'use strict';var be=require('react'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),ssr=require('@phosphor-icons/react/dist/ssr'),jsxRuntime=require('react/jsx-runtime'),classVarianceAuthority=require('class-variance-authority'),core=require('@dnd-kit/core'),sortable=require('@dnd-kit/sortable'),utilities=require('@dnd-kit/utilities');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var be__default=/*#__PURE__*/_interopDefault(be);function n(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function Zt(e,r="ko-KR"){let t=typeof e=="string"?new Date(e):e,a=new Date().getTime()-t.getTime(),l=Math.floor(a/6e4),c=Math.floor(a/36e5),b=Math.floor(a/864e5);return l<1?r==="ko-KR"?"\uBC29\uAE08 \uC804":"just now":l<60?r==="ko-KR"?`${l}\uBD84 \uC804`:`${l}m ago`:c<24?r==="ko-KR"?`${c}\uC2DC\uAC04 \uC804`:`${c}h ago`:b<7?r==="ko-KR"?`${b}\uC77C \uC804`:`${b}d ago`:t.toLocaleDateString(r)}function br(e){let r=Object.entries(e).filter(([,t])=>t).map(([t])=>t);return n(...r)}var ra={home:ssr.House,arrowLeft:ssr.ArrowLeft,arrowRight:ssr.ArrowRight,arrowUp:ssr.ArrowUp,arrowDown:ssr.ArrowDown,menu:ssr.List,close:ssr.X,search:ssr.MagnifyingGlass,settings:ssr.Gear,externalLink:ssr.ArrowSquareOut,chevronLeft:ssr.CaretLeft,chevronRight:ssr.CaretRight,chevronDown:ssr.CaretDown,chevronUp:ssr.CaretUp,edit:ssr.Pencil,delete:ssr.Trash,add:ssr.Plus,remove:ssr.Minus,download:ssr.Download,upload:ssr.Upload,refresh:ssr.ArrowClockwise,save:ssr.FloppyDisk,copy:ssr.Copy,loader:ssr.SpinnerGap,success:ssr.CheckCircle,error:ssr.XCircle,alertCircle:ssr.WarningCircle,warning:ssr.WarningCircle,info:ssr.Info,check:ssr.Check,circle:ssr.Circle,helpCircle:ssr.Question,user:ssr.User,users:ssr.Users,userPlus:ssr.UserPlus,logIn:ssr.SignIn,logOut:ssr.SignOut,eye:ssr.Eye,eyeOff:ssr.EyeSlash,chart:ssr.ChartBar,barChart:ssr.ChartBar,trendingUp:ssr.TrendUp,activity:ssr.Pulse,database:ssr.Database,zap:ssr.Lightning,fileText:ssr.FileText,file:ssr.File,folder:ssr.Folder,book:ssr.Book,bookOpen:ssr.BookOpen,mail:ssr.Envelope,message:ssr.ChatCircle,phone:ssr.Phone,image:ssr.Image,video:ssr.Video,camera:ssr.Camera,smile:ssr.Smiley,frown:ssr.SmileySad,meh:ssr.SmileyMeh,lock:ssr.Lock,unlock:ssr.LockOpen,shield:ssr.Shield,wallet:ssr.Wallet,key:ssr.Key,clock:ssr.Clock,calendar:ssr.Calendar,calendarPlus:ssr.CalendarPlus,bell:ssr.Bell,heart:ssr.Heart,star:ssr.Star,bookmark:ssr.Bookmark,share:ssr.Share,monitor:ssr.Monitor,sun:ssr.Sun,moon:ssr.Moon,lightbulb:ssr.Lightbulb,brain:ssr.Brain,flag:ssr.Flag,square:ssr.Square,sparkle:ssr.Sparkle,sparkles:ssr.Sparkle,globe:ssr.Globe,smartphone:ssr.DeviceMobile,deviceMobile:ssr.DeviceMobile,floppyDisk:ssr.FloppyDisk,ticket:ssr.Ticket,clipboard:ssr.Clipboard,wifi:ssr.WifiHigh,wifiOff:ssr.WifiSlash,cpu:ssr.Cpu,mask:ssr.MaskHappy,bold:ssr.TextB,italic:ssr.TextItalic,strikethrough:ssr.TextStrikethrough,heading:ssr.TextHOne,link:ssr.Link,code:ssr.Code,fileCode:ssr.FileCode,quote:ssr.Quotes,list:ssr.List,listOrdered:ssr.ListNumbers,minus:ssr.Minus},aa={happy:"smile",sad:"frown",neutral:"meh",excited:"smile",angry:"frown",love:"heart",like:"heart",dislike:"frown"},oa={loading:"loader",success:"success",error:"error",warning:"warning",info:"info",locked:"lock",unlocked:"unlock",visible:"eye",hidden:"eyeOff"};function na(e){return !e||!/[-_]/.test(e)&&/^[a-z]/.test(e)?e:/^[A-Z]+$/.test(e)?e.toLowerCase():/^[A-Z]/.test(e)&&!/[-_]/.test(e)?e.charAt(0).toLowerCase()+e.slice(1):e.split(/[-_]/).map((r,t)=>t===0?r.toLowerCase():r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()).join("")}var te=null,re=null;var sa={home:{lucide:"Home",phosphor:"House",iconsax:"Home2"},"layout-dashboard":{lucide:"LayoutDashboard",phosphor:"SquaresFour"},folder:{lucide:"Folder",phosphor:"Folder",iconsax:"Folder"},"alert-circle":{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},alertCircle:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},columns:{lucide:"Columns",phosphor:"Columns"},users:{lucide:"Users",phosphor:"Users",iconsax:"People"},settings:{lucide:"Settings",phosphor:"Gear"},menu:{lucide:"Menu",phosphor:"List",iconsax:"Menu"},close:{lucide:"X",phosphor:"X",iconsax:"CloseCircle"},chevronLeft:{lucide:"ChevronLeft",phosphor:"CaretLeft",iconsax:"ArrowLeft2"},chevronRight:{lucide:"ChevronRight",phosphor:"CaretRight",iconsax:"ArrowRight2"},chevronDown:{lucide:"ChevronDown",phosphor:"CaretDown",iconsax:"ArrowDown2"},chevronUp:{lucide:"ChevronUp",phosphor:"CaretUp",iconsax:"ArrowUp2"},arrowLeft:{lucide:"ArrowLeft",phosphor:"ArrowLeft",iconsax:"ArrowLeft"},arrowRight:{lucide:"ArrowRight",phosphor:"ArrowRight",iconsax:"ArrowRight"},arrowUp:{lucide:"ArrowUp",phosphor:"ArrowUp",iconsax:"ArrowUp"},arrowDown:{lucide:"ArrowDown",phosphor:"ArrowDown",iconsax:"ArrowDown"},add:{lucide:"Plus",phosphor:"Plus",iconsax:"Add"},edit:{lucide:"Edit",phosphor:"Pencil"},pencil:{lucide:"Pencil",phosphor:"Pencil"},delete:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},trash:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},upload:{lucide:"Upload",phosphor:"Upload",iconsax:"Upload"},download:{lucide:"Download",phosphor:"Download",iconsax:"Download"},x:{lucide:"X",phosphor:"X"},check:{lucide:"Check",phosphor:"Check",iconsax:"Check"},search:{lucide:"Search",phosphor:"MagnifyingGlass",iconsax:"SearchNormal"},share:{lucide:"Share",phosphor:"Share"},copy:{lucide:"Copy",phosphor:"Copy"},save:{lucide:"Save",phosphor:"FloppyDisk"},loader:{lucide:"Loader2",phosphor:"Spinner"},loader2:{lucide:"Loader2",phosphor:"Spinner"},"check-circle":{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},checkCircle:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},success:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},error:{lucide:"XCircle",phosphor:"XCircle",iconsax:"CloseCircle"},warning:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Warning2"},info:{lucide:"Info",phosphor:"Info",iconsax:"InfoCircle"},refresh:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},refreshCw:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},bell:{lucide:"Bell",phosphor:"Bell",iconsax:"Bell"},heart:{lucide:"Heart",phosphor:"Heart",iconsax:"Heart"},star:{lucide:"Star",phosphor:"Star",iconsax:"Star"},bookmark:{lucide:"Bookmark",phosphor:"Bookmark"},user:{lucide:"User",phosphor:"User",iconsax:"User"},userPlus:{lucide:"UserPlus",phosphor:"UserPlus",iconsax:"UserAdd"},logIn:{lucide:"LogIn",phosphor:"SignIn",iconsax:"Login"},logOut:{lucide:"LogOut",phosphor:"SignOut",iconsax:"Logout"},chrome:{lucide:"Chrome",phosphor:"ChromeLogo",iconsax:"Chrome"},github:{lucide:"Github",phosphor:"GithubLogo"},message:{lucide:"MessageCircle",phosphor:"ChatCircle"},messageSquare:{lucide:"MessageSquare",phosphor:"ChatSquare"},"message-square":{lucide:"MessageSquare",phosphor:"ChatSquare"},inbox:{lucide:"Inbox",phosphor:"Inbox"},calendar:{lucide:"Calendar",phosphor:"Calendar"},calendarPlus:{lucide:"CalendarPlus",phosphor:"CalendarPlus"},checkSquare:{lucide:"CheckSquare",phosphor:"CheckSquare",iconsax:"TickSquare"},clock:{lucide:"Clock",phosphor:"Clock"},book:{lucide:"Book",phosphor:"Book",iconsax:"Book"},bookOpen:{lucide:"BookOpen",phosphor:"BookOpen",iconsax:"Book"},monitor:{lucide:"Monitor",phosphor:"Monitor",iconsax:"Monitor"},sun:{lucide:"Sun",phosphor:"Sun",iconsax:"Sun"},moon:{lucide:"Moon",phosphor:"Moon",iconsax:"Moon"},sparkle:{lucide:"Sparkle",phosphor:"Sparkle"},sparkles:{lucide:"Sparkles",phosphor:"Sparkle"},lightbulb:{lucide:"Lightbulb",phosphor:"Lightbulb"},brain:{lucide:"Brain",phosphor:"Brain"},zap:{lucide:"Zap",phosphor:"Lightning"},globe:{lucide:"Globe",phosphor:"Globe",iconsax:"Global"},deviceMobile:{lucide:"Smartphone",phosphor:"DeviceMobile"},smartphone:{lucide:"Smartphone",phosphor:"DeviceMobile"},floppyDisk:{lucide:"Save",phosphor:"FloppyDisk"},chart:{lucide:"BarChart3",phosphor:"ChartBar"},barChart:{lucide:"BarChart",phosphor:"ChartBar"},trendingUp:{lucide:"TrendingUp",phosphor:"TrendUp"},trendingDown:{lucide:"TrendingDown",phosphor:"TrendDown"},activity:{lucide:"Activity",phosphor:"Pulse"},database:{lucide:"Database",phosphor:"Database"},dollarSign:{lucide:"DollarSign",phosphor:"CurrencyDollar"},dollar:{lucide:"DollarSign",phosphor:"CurrencyDollar"},currency:{lucide:"DollarSign",phosphor:"CurrencyDollar"},layers:{lucide:"Layers",phosphor:"Stack"},ban:{lucide:"Ban",phosphor:"Prohibit"},lock:{lucide:"Lock",phosphor:"Lock",iconsax:"Lock"},unlock:{lucide:"Unlock",phosphor:"LockOpen",iconsax:"Unlock"},shield:{lucide:"Shield",phosphor:"Shield",iconsax:"Shield"},key:{lucide:"Key",phosphor:"Key"},play:{lucide:"Play",phosphor:"Play",iconsax:"Play"},pause:{lucide:"Pause",phosphor:"Pause",iconsax:"Pause"},image:{lucide:"Image",phosphor:"Image",iconsax:"Image"},video:{lucide:"Video",phosphor:"Video",iconsax:"Video"},camera:{lucide:"Camera",phosphor:"Camera",iconsax:"Camera"},fileText:{lucide:"FileText",phosphor:"FileText"},file:{lucide:"File",phosphor:"File"},externalLink:{lucide:"ExternalLink",phosphor:"ArrowSquareOut"},link:{lucide:"Link",phosphor:"Link",iconsax:"Link"},moreHorizontal:{lucide:"MoreHorizontal",phosphor:"DotsThreeOutline"},moreVertical:{lucide:"MoreVertical",phosphor:"DotsThreeVertical"},remove:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"},eye:{lucide:"Eye",phosphor:"Eye",iconsax:"Eye"},eyeOff:{lucide:"EyeOff",phosphor:"EyeSlash",iconsax:"EyeSlash"},smile:{lucide:"Smile",phosphor:"Smiley",iconsax:"EmojiHappy"},frown:{lucide:"Frown",phosphor:"SmileySad",iconsax:"EmojiSad"},meh:{lucide:"Meh",phosphor:"SmileyMeh",iconsax:"EmojiNormal"},mail:{lucide:"Mail",phosphor:"Envelope"},phone:{lucide:"Phone",phosphor:"Phone"},flag:{lucide:"Flag",phosphor:"Flag",iconsax:"Flag"},rocket:{lucide:"Rocket",phosphor:"Rocket",iconsax:"Rocket"},ticket:{lucide:"Ticket",phosphor:"Ticket",iconsax:"Ticket"},clipboard:{lucide:"ClipboardList",phosphor:"Clipboard",iconsax:"Sticker"},wifi:{lucide:"Wifi",phosphor:"WifiHigh",iconsax:"Wifi"},wifiOff:{lucide:"WifiOff",phosphor:"WifiSlash"},cpu:{lucide:"Cpu",phosphor:"Cpu",iconsax:"Computing"},mask:{lucide:"Drama",phosphor:"MaskHappy",iconsax:"EmojiHappy"},bold:{lucide:"Bold",phosphor:"TextB"},italic:{lucide:"Italic",phosphor:"TextItalic"},strikethrough:{lucide:"Strikethrough",phosphor:"TextStrikethrough"},heading:{lucide:"Heading",phosphor:"TextHOne"},code:{lucide:"Code",phosphor:"Code",iconsax:"Code"},fileCode:{lucide:"FileCode",phosphor:"FileCode"},quote:{lucide:"Quote",phosphor:"Quotes",iconsax:"QuoteUp"},list:{lucide:"List",phosphor:"List"},listOrdered:{lucide:"ListOrdered",phosphor:"ListNumbers"},minus:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"}};async function ia(){if(typeof window=="undefined")return null;if(!te)try{te=await import('@phosphor-icons/react');}catch{return console.warn("Phosphor Icons not available. Install @phosphor-icons/react to use."),null}return te}async function la(){if(typeof window=="undefined")return null;if(!re)try{re=await import('lucide-react');}catch{return console.warn("Lucide Icons not available. Install lucide-react to use lucide provider."),null}return re}function er(e,r="phosphor"){let t=sa[e];if(!t)return Jn(e,r);let o=t[r];switch(r){case "phosphor":return !o||!te?null:(te==null?void 0:te[o])||null;case "lucide":return !o||!re?null:(re==null?void 0:re[o])||null;case "iconsax":{return null;}default:return null}}function Jn(e,r){switch(r){case "phosphor":{if(!te)return null;let t=e.charAt(0).toUpperCase()+e.slice(1),o=e.split(/(?=[A-Z])/).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join("");return (te==null?void 0:te[t])||(te==null?void 0:te[o])||(te==null?void 0:te[e])||null}case "lucide":{if(!re)return null;let t=e.charAt(0).toUpperCase()+e.slice(1),o=e.replace(/([A-Z])/g,a=>a===e[0]?a.toLowerCase():a);return (re==null?void 0:re[t])||(re==null?void 0:re[e])||(re==null?void 0:re[o])||null}case "iconsax":{return null;}default:return null}}function da(e,r){let t=sa[e];if(t){let o=t[r];if(o)return o}return e}var xr={"arrow-left":"arrowLeft","arrow-right":"arrowRight","arrow-up":"arrowUp","arrow-down":"arrowDown","chevron-left":"chevronLeft","chevron-right":"chevronRight","chevron-up":"chevronUp","chevron-down":"chevronDown","external-link":"externalLink","more-horizontal":"moreHorizontal","more-vertical":"moreVertical","user-plus":"userPlus","log-in":"logIn","log-out":"logOut","check-circle":"checkCircle","check-square":"checkSquare","alert-circle":"alertCircle","eye-off":"eyeOff","file-text":"fileText","book-open":"bookOpen","bar-chart":"barChart","trending-up":"trendingUp","trending-down":"trendingDown","message-square":"messageSquare","calendar-plus":"calendarPlus","refresh-cw":"refreshCw","dollar-sign":"dollarSign","layout-dashboard":"layoutDashboard","device-mobile":"deviceMobile","floppy-disk":"floppyDisk",back:"arrowLeft",prev:"arrowLeft",previous:"arrowLeft",forward:"arrowRight",next:"arrowRight",close:"x",cancel:"x",remove:"delete",trash:"delete",plus:"add",new:"add",pencil:"edit",modify:"edit",store:"save",floppy:"save",magnify:"search",person:"user",account:"user",profile:"user",gear:"settings",config:"settings",preferences:"settings",house:"home",main:"home",done:"check",complete:"check",tick:"check",information:"info",help:"info",alert:"warning",caution:"warning",checkmark:"success",checkCircle:"success",fail:"error",cross:"error",xCircle:"error",spinner:"loader",loading:"loader",wait:"loader",reload:"refresh",update:"refresh",sync:"refresh",show:"eye",view:"eye",hide:"eyeOff",hidden:"eyeOff",secure:"lock",locked:"lock",unsecure:"unlock",unlocked:"unlock",get:"download",fetch:"download",post:"upload",send:"share",export:"share",duplicate:"copy",clone:"copy",email:"mail",envelope:"mail",chat:"message",comment:"message",talk:"message",date:"calendar",schedule:"calendar",time:"clock",watch:"clock",document:"fileText",doc:"fileText",text:"fileText",directory:"folder",dir:"folder",picture:"image",img:"image",movie:"video",film:"video",photo:"camera",capture:"camera",start:"play",run:"play",stop:"pause",halt:"pause",like:"heart",love:"heart",favorite:"star",saveBookmark:"bookmark",notification:"bell",notify:"bell",alarm:"bell",prefs:"settings",lookup:"search",dots:"moreHorizontal",moreMenu:"moreHorizontal",moreOptions:"moreVertical",external:"externalLink",outbound:"externalLink",open:"externalLink",url:"link",hyperlink:"link",graph:"barChart",stats:"barChart",analytics:"barChart",db:"database",storage:"database",pulse:"activity",monitor:"activity",up:"trendingUp",down:"trendingDown",lightning:"zap",bolt:"zap",flash:"zap",security:"shield",protect:"shield",password:"key",secret:"key",signin:"logIn",login:"logIn",enter:"logIn",signout:"logOut",logout:"logOut",exit:"logOut",people:"users",group:"users",team:"users",addUser:"userPlus",invite:"userPlus",read:"book",library:"book",reading:"bookOpen",openBook:"bookOpen",light:"sun",day:"sun",dark:"moon",night:"moon",screen:"monitor",display:"monitor",ai:"brain",intelligence:"brain",think:"brain",idea:"lightbulb",bulb:"lightbulb",inspiration:"lightbulb",magic:"sparkles",stars:"sparkles",glitter:"sparkles"};function ca(e){if(!e||typeof e!="string")return {normalized:e||"",wasAlias:false};let r=na(e),t=xr[e]||xr[r];return t?{normalized:t,wasAlias:true,originalAlias:e}:{normalized:r,wasAlias:false}}var ma={set:"lucide",weight:"regular",size:20,color:"currentColor",strokeWidth:1.25,iconsaxVariant:"line"};var rs=be.createContext(ma);function pa(){return be.useContext(rs)}var ga=be__default.default.forwardRef(({name:e,size:r,className:t,emotion:o,status:a,provider:l,weight:c,animated:b=false,pulse:u=false,spin:k=false,bounce:i=false,variant:x="default","aria-label":f,"aria-hidden":s},p)=>{var A,ye;let d=pa(),g=l||d.set,m=r!=null?r:d.size,h=c||d.weight,v=d.color,C=(A=d.strokeWidth)!=null?A:1.25,R=(ye=d.iconsaxVariant)!=null?ye:"line",[y,T]=be__default.default.useState(false),[K,D]=be__default.default.useState(false);be__default.default.useEffect(()=>{T(true),g==="lucide"?la().then(()=>D(true)):g==="phosphor"?ia().then(()=>D(true)):D(true);},[g]);let $=be__default.default.useMemo(()=>{let ee=o?aa[o]:a?oa[a]:e,{normalized:ve}=ca(ee),Te=da(ve,g);return {normalized:ve,providerName:Te}},[e,o,a,g]),H=$.normalized,V=be__default.default.useMemo(()=>{return null},[g,$.providerName,y,R]),N=br({"text-current":x==="default","text-primary":x==="primary","text-muted-foreground":x==="secondary"||x==="muted","text-green-600 dark:text-green-400":x==="success","text-yellow-600 dark:text-yellow-400":x==="warning","text-destructive":x==="error"});if(!y)return jsxRuntime.jsx("span",{style:{width:m,height:m},className:n(N,t),"aria-hidden":s!==void 0?s:true,"aria-label":f});let w=null;if(g==="phosphor"?(w=ra[H]||null,!w&&K&&(w=er(H,g))):g==="iconsax"?(w=V,w||(w=er(H,g))):w=er(H,g),!w)return g==="iconsax"&&true?process.env.NODE_ENV==="development"&&console.warn(`Icon "${H}" \u2014 iconsax resolver not registered. Use HuaProvider with icons.set='iconsax', or add: import '@hua-labs/ui/iconsax'`):console.warn(`Icon "${H}" not found for provider "${g}"`),jsxRuntime.jsx("span",{ref:p,className:n("inline-flex items-center justify-center rounded-full border-2 border-dashed border-border",N,t),style:{width:m,height:m},"aria-label":f||`\uC544\uC774\uCF58\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: ${H}`,title:`Icon not found: ${H}`,children:jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground","aria-hidden":"true",children:"?"})});let F={size:typeof m=="number"?m:void 0,width:m,height:m,color:v};g==="phosphor"?F.weight=h:F.strokeWidth=C;let j=br({"animate-pulse":u,"animate-spin":k,"animate-bounce":i,"transition-all duration-200 ease-in-out":b}),L={};return f?(L["aria-label"]=f,L["aria-hidden"]=false):s!==void 0?L["aria-hidden"]=s:L["aria-hidden"]=true,jsxRuntime.jsx("span",{ref:p,className:n("inline-flex items-center justify-center",j,N,t),style:{width:m,height:m},...L,children:w&&be__default.default.createElement(w,{...F,className:N,"aria-hidden":true})})});ga.displayName="Icon";var as=be__default.default.memo(ga,(e,r)=>e.name===r.name&&e.size===r.size&&e.className===r.className&&e.emotion===r.emotion&&e.status===r.status&&e.provider===r.provider&&e.animated===r.animated&&e.pulse===r.pulse&&e.spin===r.spin&&e.bounce===r.bounce&&e.variant===r.variant&&e.weight===r.weight&&e["aria-label"]===r["aria-label"]&&e["aria-hidden"]===r["aria-hidden"]),S=as;S.displayName="Icon";var ua=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"smile",...e}));ua.displayName="EmotionIcon";var ba=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"info",...e}));ba.displayName="StatusIcon";var fa=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"loader",status:"loading",spin:true,"aria-label":"\uB85C\uB529 \uC911",...e}));fa.displayName="LoadingIcon";var xa=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"check",status:"success",variant:"success","aria-label":"\uC131\uACF5",...e}));xa.displayName="SuccessIcon";var ha=be__default.default.forwardRef((e,r)=>jsxRuntime.jsx(S,{ref:r,name:"alertCircle",status:"error",variant:"error","aria-label":"\uC624\uB958",...e}));ha.displayName="ErrorIcon";var os={50:"50",100:"100",200:"200",300:"300",400:"400",500:"500",600:"600",700:"700",800:"800",900:"900"};function G(e,r,t=""){return `${t}${e}-${os[r]}`}function He(e,r){return `${e} dark:${r}`}var Mt={default:{border:{light:200,dark:700},background:{light:50,dark:900,opacity:"50"}},outline:{border:{light:300,dark:600},background:"transparent",text:{light:600,dark:400}},elevated:{border:{light:200,dark:700},background:{light:"white",dark:"gray-800"},shadow:"lg"},icon:{background:{light:100,dark:900,opacity:"30"},text:{light:600,dark:400}},badge:{background:{light:50,dark:900,opacity:"30"},text:{light:700,dark:300}}},ns={from:500,to:600,border:{light:400,dark:500}};function ss(e,r){var K,D,$,H,V,N,w,F,j,L,A,ye,ee,ve,Te;let t={default:Mt.default,gradient:ns,outline:Mt.outline,elevated:Mt.elevated,icon:Mt.icon,badge:Mt.badge},o=(K=t.default)!=null&&K.border?He(`border-${G(e,t.default.border.light)}`,`border-${G(e,t.default.border.dark||t.default.border.light)}`):"",a=(D=t.default)!=null&&D.background?He(`bg-${G(e,t.default.background.light)}${t.default.background.opacity?`/${t.default.background.opacity}`:""}`,`bg-${G(e,t.default.background.dark||t.default.background.light)}${t.default.background.opacity?`/${t.default.background.opacity}`:""}`):"",l=n(o,a),c=($=t.gradient)!=null&&$.from?`from-${G(e,t.gradient.from)}`:"",b=(H=t.gradient)!=null&&H.to?`to-${G(e,t.gradient.to)}`:"",u=(V=t.gradient)!=null&&V.border?He(`border-${G(e,t.gradient.border.light)}`,`border-${G(e,t.gradient.border.dark||t.gradient.border.light)}`):"",k=n("bg-gradient-to-br",c,b,u),i=(N=t.outline)!=null&&N.border?`border-2 ${He(`border-${G(e,t.outline.border.light)}`,`border-${G(e,t.outline.border.dark||t.outline.border.light)}`)}`:"",x=((w=t.outline)==null?void 0:w.background)||"bg-transparent",f=(F=t.outline)!=null&&F.text?He(`text-${G(e,t.outline.text.light)}`,`text-${G(e,t.outline.text.dark||t.outline.text.light)}`):"",s=n(i,x,f),p=(j=t.elevated)!=null&&j.border?He(`border-${G(e,t.elevated.border.light)}`,`border-${G(e,t.elevated.border.dark||t.elevated.border.light)}`):"",d=(L=t.elevated)!=null&&L.background?He(`bg-${t.elevated.background.light}`,`bg-${t.elevated.background.dark}`):"",g=(A=t.elevated)!=null&&A.shadow?`shadow-${t.elevated.shadow}`:"",m=n(p,d,g),h=(ye=t.icon)!=null&&ye.background?He(`bg-${G(e,t.icon.background.light)}${t.icon.background.opacity?`/${t.icon.background.opacity}`:""}`,`bg-${G(e,t.icon.background.dark||t.icon.background.light)}${t.icon.background.opacity?`/${t.icon.background.opacity}`:""}`):"",v=(ee=t.icon)!=null&&ee.text?He(`text-${G(e,t.icon.text.light)}`,`text-${G(e,t.icon.text.dark||t.icon.text.light)}`):"",C=n(h,v),R=(ve=t.badge)!=null&&ve.background?He(`bg-${G(e,t.badge.background.light)}${t.badge.background.opacity?`/${t.badge.background.opacity}`:""}`,`bg-${G(e,t.badge.background.dark||t.badge.background.light)}${t.badge.background.opacity?`/${t.badge.background.opacity}`:""}`):"",y=(Te=t.badge)!=null&&Te.text?He(`text-${G(e,t.badge.text.light)}`,`text-${G(e,t.badge.text.dark||t.badge.text.light)}`):"",T=n(R,y);return {default:l,gradient:k,outline:s,elevated:m,icon:C,badge:T}}var hr=new Map;function De(e,r){let t=`${e}-${JSON.stringify({})}`;return hr.has(t)||hr.set(t,ss(e)),hr.get(t)}function tr(e,r){let t="rounded-2xl border transition-all duration-200";switch(e){case "default":return n(t,r.default);case "gradient":return n(t,"text-white",r.gradient);case "outline":return n(t,r.outline);case "elevated":return n(t,r.elevated);default:return t}}var ya=be__default.default.forwardRef(({title:e,value:r,description:t,icon:o,trend:a,variant:l="elevated",color:c="blue",loading:b=false,emptyState:u,className:k,...i},x)=>{let f=De(c),s=l==="gradient",p=s,d=be.useMemo(()=>{let m=tr(l,f);return l==="elevated"?m.replace("rounded-2xl","rounded-3xl"):m},[l,f]),g=m=>typeof m=="number"?m.toLocaleString():m;return !b&&(r==null||r==="")?u?jsxRuntime.jsx("div",{className:k,...i,children:u}):jsxRuntime.jsxs("div",{className:n("rounded-2xl border border-slate-100 dark:border-slate-800 p-6",k),...i,children:[jsxRuntime.jsx("h3",{className:"text-sm font-medium text-slate-500 dark:text-slate-400",children:e}),jsxRuntime.jsx("p",{className:"mt-2 text-sm text-slate-400",children:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."})]}):jsxRuntime.jsxs("div",{ref:x,className:n("p-6 transition-all duration-200 hover:shadow-xl",d,k),...i,children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-4",children:[o&&jsxRuntime.jsx("div",{className:n("w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0",s?"bg-white/20":f.icon),children:typeof o=="string"?jsxRuntime.jsx(S,{name:o,className:n("w-6 h-6",p?"text-white":"")}):o}),e&&jsxRuntime.jsx("span",{className:n("text-sm px-3 py-1 rounded-full font-medium",s?"bg-white/20 text-white":f.badge),children:e})]}),b?jsxRuntime.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded animate-pulse mb-2"}):jsxRuntime.jsx("h3",{className:n("text-3xl font-bold mb-1",p?"text-white":"text-gray-800 dark:text-white"),children:g(r!=null?r:0)}),t&&jsxRuntime.jsx("p",{className:n("text-sm",p?"text-white/90":"text-gray-600 dark:text-gray-300"),children:t}),a&&!b&&jsxRuntime.jsxs("div",{className:"mt-3 flex items-center gap-1",children:[jsxRuntime.jsxs("span",{className:n("text-xs font-medium",a.positive!==false?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"),children:[a.positive!==false?"\u2191":"\u2193"," ",Math.abs(a.value),"%"]}),jsxRuntime.jsx("span",{className:n("text-xs",p?"text-white/70":"text-gray-500 dark:text-gray-400"),children:a.label})]})]})});ya.displayName="StatCard";var va=be__default.default.forwardRef(({title:e,description:r,icon:t,href:o,onClick:a,variant:l="gradient",color:c="blue",loading:b=false,badge:u,className:k,...i},x)=>{let f=De(c),s=l==="gradient",p=s||l==="solid",d=be.useMemo(()=>l==="gradient"?`text-white ${f.gradient}`:l==="outline"?f.outline:{blue:"text-white bg-primary hover:bg-primary/90",purple:"text-white bg-purple-600 hover:bg-purple-700",green:"text-white bg-green-600 hover:bg-green-700",orange:"text-white bg-orange-600 hover:bg-orange-700",red:"text-white bg-red-600 hover:bg-red-700",indigo:"text-white bg-indigo-600 hover:bg-indigo-700",pink:"text-white bg-pink-600 hover:bg-pink-700",gray:"text-white bg-gray-600 hover:bg-gray-700",cyan:"text-white bg-cyan-600 hover:bg-cyan-700"}[c],[l,f,c]),g=n("rounded-2xl p-6 transition-all shadow-lg hover:shadow-xl text-center",u&&"relative",d,k),m=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[u&&jsxRuntime.jsx("span",{className:"absolute top-2 right-2 text-[10px] font-medium bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400 px-1.5 py-0.5 rounded-full",children:u}),t&&jsxRuntime.jsx("div",{className:n("w-12 h-12 rounded-lg flex items-center justify-center mx-auto mb-2",s||l==="solid"?"bg-white/20":l==="outline"?f.icon:""),children:typeof t=="string"?jsxRuntime.jsx(S,{name:t,className:n("w-6 h-6",p?"text-white":"")}):t}),jsxRuntime.jsx("h3",{className:n("text-xl font-semibold mb-1",p?"text-white":""),children:e}),r&&jsxRuntime.jsx("p",{className:n("text-sm",p?"text-white/90":"text-gray-600 dark:text-gray-300"),children:r}),b&&jsxRuntime.jsx("div",{className:"mt-2 h-4 bg-white/20 rounded animate-pulse"})]});return o?jsxRuntime.jsx("a",{ref:x,href:o,className:g,...i,children:m}):jsxRuntime.jsx("button",{ref:x,onClick:a,className:g,...i,children:m})});va.displayName="QuickActionCard";var us={sm:"gap-3",md:"gap-6",lg:"gap-8",xl:"gap-12"},bs={1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4",5:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",6:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"},fs={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6"},ka=be__default.default.forwardRef(({columns:e=4,gap:r="md",responsive:t=true,className:o,children:a,...l},c)=>{let b=t?bs[e]:fs[e];return jsxRuntime.jsx("div",{ref:c,className:n("grid",b,us[r],o),...l,children:a})});ka.displayName="DashboardGrid";var wa=be__default.default.forwardRef(({title:e,items:r,emptyMessage:t="\uD65C\uB3D9 \uB0B4\uC5ED\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",showHeader:o=true,maxItems:a,onViewAll:l,viewAllLabel:c="\uC804\uCCB4 \uBCF4\uAE30",emptyState:b,className:u,...k},i)=>{let x=a?r.slice(0,a):r,f=a&&r.length>a;return jsxRuntime.jsxs("div",{ref:i,className:n("bg-white dark:bg-gray-800 rounded-2xl shadow-lg border border-gray-200 dark:border-gray-700",u),...k,children:[o&&e&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-gray-200 dark:border-gray-700",children:[jsxRuntime.jsx("h2",{className:"text-xl font-bold text-gray-800 dark:text-white flex items-center",children:e}),l&&jsxRuntime.jsxs("button",{onClick:l,"aria-label":`${c} - ${e||"\uD65C\uB3D9 \uB0B4\uC5ED"}`,className:"text-purple-600 dark:text-purple-400 hover:text-purple-700 dark:hover:text-purple-300 font-medium text-sm transition-colors",children:[c," \u2192"]})]}),x.length>0?jsxRuntime.jsxs("div",{className:"divide-y divide-gray-200 dark:divide-gray-700",children:[x.map(s=>jsxRuntime.jsxs("div",{onClick:s.onClick,className:n("p-4 transition-colors",s.onClick&&"hover:bg-gray-50 dark:hover:bg-gray-700/50 cursor-pointer group"),children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-2",children:[jsxRuntime.jsx("div",{className:"flex-1 min-w-0",children:jsxRuntime.jsxs("div",{className:"flex items-start gap-3",children:[s.icon&&jsxRuntime.jsx("div",{className:"w-8 h-8 rounded-lg bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center flex-shrink-0 mt-0.5",children:typeof s.icon=="string"?jsxRuntime.jsx(S,{name:s.icon,className:"w-4 h-4 text-purple-600 dark:text-purple-400"}):s.icon}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsx("h3",{className:"text-base font-semibold text-gray-800 dark:text-white mb-1 truncate",children:s.title}),s.description&&jsxRuntime.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 line-clamp-2",children:s.description})]})]})}),s.badge&&jsxRuntime.jsx("div",{className:"ml-2 flex-shrink-0",children:typeof s.badge=="string"?jsxRuntime.jsx("span",{className:"px-2 py-1 rounded-full text-xs font-medium bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-300",children:s.badge}):s.badge})]}),s.metadata&&Object.keys(s.metadata).length>0&&jsxRuntime.jsx("div",{className:"flex items-center gap-1 flex-wrap mt-2",children:Object.entries(s.metadata).map(([p,d])=>jsxRuntime.jsxs("span",{className:"text-xs bg-purple-100 dark:bg-purple-900/30 text-purple-700 dark:text-purple-300 px-2 py-0.5 rounded",children:[p,": ",String(d)]},p))}),jsxRuntime.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-2",children:jsxRuntime.jsx("time",{dateTime:s.timestamp instanceof Date?s.timestamp.toISOString():typeof s.timestamp=="string"?s.timestamp:void 0,children:Zt(s.timestamp)})})]},s.id)),f&&jsxRuntime.jsx("div",{className:"p-4 text-center border-t border-gray-200 dark:border-gray-700",children:jsxRuntime.jsxs("button",{onClick:l,"aria-label":`\uB354 \uB9CE\uC740 \uD65C\uB3D9 \uBCF4\uAE30 - ${r.length-(a||0)}\uAC1C \uB354`,className:"inline-flex items-center text-sm text-purple-600 dark:text-purple-400 hover:text-purple-700 dark:hover:text-purple-300 font-medium transition-colors",children:[jsxRuntime.jsx("span",{children:"\uB354 \uB9CE\uC740 \uD65C\uB3D9 \uBCF4\uAE30"}),jsxRuntime.jsxs("span",{className:"ml-1",children:["(",r.length-(a||0),"\uAC1C \uB354)"]}),jsxRuntime.jsx("span",{className:"ml-1",children:"\u2192"})]})})]}):b||jsxRuntime.jsxs("div",{className:"text-center py-8",children:[jsxRuntime.jsx("span",{className:"text-4xl mb-3 block",children:"\u{1F4ED}"}),jsxRuntime.jsx("p",{className:"text-gray-500 dark:text-gray-400 text-sm",children:t})]})]})});wa.displayName="ActivityFeed";var vs={basic:{badge:"bg-gradient-to-r from-indigo-500 to-cyan-500 text-white",icon:"text-indigo-600 dark:text-indigo-400"},pro:{badge:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",icon:"text-purple-600 dark:text-purple-400"},premium:{badge:"bg-gradient-to-r from-yellow-400 to-orange-500 text-white",icon:"text-yellow-600 dark:text-yellow-400"},admin:{badge:"bg-gradient-to-r from-red-500 to-pink-500 text-white",icon:"text-red-600 dark:text-red-400"}},ks={basic:"Basic",pro:"Pro",premium:"Premium",admin:"Admin"},Na=be__default.default.forwardRef(({name:e,email:r,avatar:t,avatarAlt:o,greeting:a,memberSince:l,membershipTier:c,membershipLabel:b,onSettingsClick:u,settingsHref:k,variant:i="default",showAvatar:x=true,showMembership:f=true,showSettings:s=true,className:p,...d},g)=>{let m=y=>(typeof y=="string"?new Date(y):y).toLocaleDateString("ko-KR",{year:"numeric",month:"long",day:"numeric"}),h=c||"basic",v=vs[h],C=b||ks[h];return jsxRuntime.jsxs("div",{ref:g,className:n("relative overflow-hidden p-6",{default:"bg-white dark:bg-gray-800 rounded-2xl shadow-lg border border-gray-200 dark:border-gray-700",gradient:"bg-gradient-to-br from-indigo-50 via-purple-50 to-pink-50 dark:from-gray-800 dark:via-gray-800 dark:to-gray-900 rounded-2xl shadow-xl border border-white/20 dark:border-gray-700/20",minimal:"bg-transparent"}[i],p),...d,children:[i==="gradient"&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-indigo-500 via-purple-500 to-pink-500 opacity-10 dark:opacity-20"}),jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-cyan-400 via-indigo-500 to-purple-600 opacity-5 dark:opacity-15"})]}),jsxRuntime.jsxs("div",{className:"relative flex items-start gap-6",children:[s&&(u||k)&&jsxRuntime.jsx("div",{className:"absolute top-0 right-0",children:k?jsxRuntime.jsx("a",{href:k,className:"p-2 text-gray-400 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 transition-colors",title:"\uC124\uC815",children:jsxRuntime.jsx(S,{name:"settings",className:"w-6 h-6"})}):jsxRuntime.jsx("button",{onClick:u,className:"p-2 text-gray-400 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 transition-colors",title:"\uC124\uC815",children:jsxRuntime.jsx(S,{name:"settings",className:"w-6 h-6"})})}),x&&jsxRuntime.jsx("div",{className:"relative flex-shrink-0",children:t?jsxRuntime.jsx("img",{src:t,alt:o||e,className:"w-20 h-20 rounded-full border-4 border-white dark:border-gray-700 shadow-lg object-cover"}):jsxRuntime.jsx("div",{className:"w-20 h-20 rounded-full bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center border-4 border-white dark:border-gray-700 shadow-lg",children:jsxRuntime.jsx("span",{className:"text-2xl font-bold text-white",children:e.charAt(0).toUpperCase()})})}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[a&&jsxRuntime.jsx("div",{className:"text-lg sm:text-xl font-semibold mb-2",children:a.split(" ").map((y,T)=>{let K=/[\u{1F600}-\u{1F64F}]|[\u{1F300}-\u{1F5FF}]|[\u{1F680}-\u{1F6FF}]|[\u{1F1E0}-\u{1F1FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]/u.test(y);return jsxRuntime.jsxs("span",{children:[K?jsxRuntime.jsx("span",{className:"text-gray-900 dark:text-white",children:y}):jsxRuntime.jsx("span",{className:"text-xl sm:text-2xl font-bold bg-gradient-to-r from-indigo-500 to-purple-500 bg-clip-text text-transparent",children:y}),T<a.split(" ").length-1&&" "]},T)})}),jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3 mb-2",children:[jsxRuntime.jsxs("span",{className:"text-xl sm:text-2xl font-bold text-gray-900 dark:text-white truncate",children:[e,"!"]}),f&&c&&jsxRuntime.jsxs("span",{className:n("inline-flex items-center px-3 py-1 rounded-full text-xs font-semibold shadow-lg",v.badge),children:[jsxRuntime.jsx("svg",{className:"w-3 h-3 mr-1",fill:"currentColor",viewBox:"0 0 20 20",children:h==="premium"?jsxRuntime.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}):h==="admin"?jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"}):jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),C]})]}),r&&jsxRuntime.jsx("div",{className:"text-gray-600 dark:text-gray-400 text-sm mb-1 truncate",children:r}),l&&jsxRuntime.jsxs("div",{className:"text-gray-400 text-xs flex items-center gap-1",children:[jsxRuntime.jsx(S,{name:"clock",className:"w-3 h-3"}),"\uAC00\uC785\uC77C ",m(l)]})]})]})]})});Na.displayName="ProfileCard";var Cs={basic:{gradient:"bg-gradient-to-r from-indigo-500 to-cyan-500",label:"Basic"},pro:{gradient:"bg-gradient-to-r from-purple-500 to-pink-500",label:"Pro"},premium:{gradient:"bg-gradient-to-r from-yellow-400 to-orange-500",label:"Premium"},admin:{gradient:"bg-gradient-to-r from-red-500 to-pink-500",label:"Admin"}},Rs={sm:{container:"px-2 py-0.5 text-xs",icon:"w-2.5 h-2.5"},md:{container:"px-3 py-1 text-xs",icon:"w-3 h-3"},lg:{container:"px-4 py-1.5 text-sm",icon:"w-4 h-4"}},Ca=be__default.default.forwardRef(({tier:e,label:r,size:t="md",showIcon:o=true,className:a,...l},c)=>{let b=Cs[e],u=Rs[t],k=r||b.label,i=()=>o?e==="premium"?jsxRuntime.jsx("svg",{className:u.icon,fill:"currentColor",viewBox:"0 0 20 20",children:jsxRuntime.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}):e==="admin"?jsxRuntime.jsx("svg",{className:u.icon,fill:"currentColor",viewBox:"0 0 20 20",children:jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"})}):jsxRuntime.jsx("svg",{className:u.icon,fill:"currentColor",viewBox:"0 0 20 20",children:jsxRuntime.jsx("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}):null;return jsxRuntime.jsxs("span",{ref:c,className:n("inline-flex items-center rounded-full font-semibold text-white shadow-lg",b.gradient,u.container,a),...l,children:[o&&jsxRuntime.jsx("span",{className:"mr-1",children:i()}),k]})});Ca.displayName="MembershipBadge";var Ss={blue:{default:"bg-gradient-to-t from-indigo-500 to-cyan-400",highlight:"bg-gradient-to-t from-cyan-600 to-cyan-500 shadow-lg"},purple:{default:"bg-gradient-to-t from-purple-500 to-purple-400",highlight:"bg-gradient-to-t from-purple-600 to-purple-500 shadow-lg"},green:{default:"bg-gradient-to-t from-green-500 to-green-400",highlight:"bg-gradient-to-t from-green-600 to-green-500 shadow-lg"},orange:{default:"bg-gradient-to-t from-orange-500 to-orange-400",highlight:"bg-gradient-to-t from-orange-600 to-orange-500 shadow-lg"},red:{default:"bg-gradient-to-t from-red-500 to-red-400",highlight:"bg-gradient-to-t from-red-600 to-red-500 shadow-lg"},indigo:{default:"bg-gradient-to-t from-indigo-500 to-indigo-400",highlight:"bg-gradient-to-t from-indigo-600 to-indigo-500 shadow-lg"},pink:{default:"bg-gradient-to-t from-pink-500 to-pink-400",highlight:"bg-gradient-to-t from-pink-600 to-pink-500 shadow-lg"},gray:{default:"bg-gradient-to-t from-gray-500 to-gray-400",highlight:"bg-gradient-to-t from-gray-600 to-gray-500 shadow-lg"},cyan:{default:"bg-gradient-to-t from-cyan-500 to-cyan-400",highlight:"bg-gradient-to-t from-cyan-600 to-cyan-500 shadow-lg"}},rr=be__default.default.forwardRef(({data:e,labels:r,maxValue:t,height:o=160,showTooltip:a=true,showStats:l=true,color:c="blue",highlightToday:b=true,todayIndex:u,className:k,...i},x)=>{let f=Ss[c],s=t||Math.max(...e,1),p=Math.max(s,10),d=u!==void 0?u:e.length-1,g=y=>p===0?8:Math.max(y/p*o,8),m=e.reduce((y,T)=>y+T,0),h=e.length>0?Math.round(m/e.length):0,v=Math.max(...e);be__default.default.useId();let R=r&&r.length>0?`\uBBF8\uB2C8 \uB9C9\uB300 \uADF8\uB798\uD504 - ${r.length}\uAC1C \uD56D\uBAA9, \uCD5C\uB300\uAC12 ${v.toLocaleString()}, \uD3C9\uADE0 ${h.toLocaleString()}`:`\uBBF8\uB2C8 \uB9C9\uB300 \uADF8\uB798\uD504 - ${e.length}\uAC1C \uD56D\uBAA9, \uCD5C\uB300\uAC12 ${v.toLocaleString()}, \uD3C9\uADE0 ${h.toLocaleString()}`;return jsxRuntime.jsxs("div",{ref:x,role:"img","aria-label":R,className:n("w-full",k),...i,children:[jsxRuntime.jsxs("div",{className:"flex items-end justify-between gap-2 px-2 relative",style:{height:`${o+40}px`},children:[jsxRuntime.jsx("div",{className:"absolute inset-x-2 bottom-8 border-t border-gray-200 dark:border-gray-700 opacity-50"}),e.map((y,T)=>{let K=b&&T===d,D=g(y),$=K?f.highlight:f.default;return jsxRuntime.jsxs("div",{className:"flex flex-col items-center flex-1 group relative",children:[a&&jsxRuntime.jsxs("div",{className:"absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-2 py-1 bg-gray-900 dark:bg-gray-700 text-white text-xs rounded opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none whitespace-nowrap z-10",children:[y,"\uAC1C",jsxRuntime.jsx("div",{className:"absolute top-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent border-t-gray-900 dark:border-t-gray-700"})]}),jsxRuntime.jsx("div",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 mb-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:y}),jsxRuntime.jsx("div",{className:"relative w-full flex-1 flex items-end",children:jsxRuntime.jsx("div",{className:n("w-full rounded-t-lg transition-all duration-500 ease-out group-hover:scale-105",$),style:{height:`${D}px`,minHeight:"8px"},children:y>0&&jsxRuntime.jsx("div",{className:"absolute -top-1 left-1/2 transform -translate-x-1/2 w-2 h-2 bg-white dark:bg-gray-800 rounded-full shadow-sm"})})}),r&&r[T]&&jsxRuntime.jsx("div",{className:n("text-xs font-medium mt-2 transition-colors duration-200",K?"text-purple-600 dark:text-purple-400":"text-gray-500 dark:text-gray-400"),children:r[T]})]},T)})]}),l&&jsxRuntime.jsxs("div",{className:"mt-4 flex justify-between items-center text-xs text-gray-500 dark:text-gray-400 px-2",children:[jsxRuntime.jsxs("div",{children:["\uCD1D: ",m]}),jsxRuntime.jsxs("div",{children:["\uD3C9\uADE0: ",h]}),jsxRuntime.jsxs("div",{children:["\uCD5C\uACE0: ",v]})]})]})});rr.displayName="MiniBarChart";var Ls={blue:"bg-gradient-to-br from-indigo-50 to-indigo-100 dark:from-indigo-900/20 dark:to-indigo-900/20",purple:"bg-gradient-to-br from-purple-50 to-pink-100 dark:from-purple-900/20 dark:to-pink-900/20",green:"bg-gradient-to-br from-green-50 to-emerald-100 dark:from-green-900/20 dark:to-emerald-900/20",orange:"bg-gradient-to-br from-orange-50 to-amber-100 dark:from-orange-900/20 dark:to-amber-900/20",red:"bg-gradient-to-br from-red-50 to-rose-100 dark:from-red-900/20 dark:to-rose-900/20",indigo:"bg-gradient-to-br from-indigo-50 to-indigo-100 dark:from-indigo-900/20 dark:to-indigo-900/20",pink:"bg-gradient-to-br from-pink-50 to-rose-100 dark:from-pink-900/20 dark:to-rose-900/20",gray:"bg-gradient-to-br from-gray-50 to-gray-100 dark:from-gray-900/20 dark:to-gray-800/20",cyan:"bg-gradient-to-br from-cyan-50 to-cyan-100 dark:from-cyan-900/20 dark:to-cyan-900/20"},Ta={blue:"bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-700 hover:to-indigo-700",purple:"bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700",green:"bg-gradient-to-r from-green-600 to-emerald-600 hover:from-green-700 hover:to-emerald-700",orange:"bg-gradient-to-r from-orange-600 to-amber-600 hover:from-orange-700 hover:to-amber-700",red:"bg-gradient-to-r from-red-600 to-rose-600 hover:from-red-700 hover:to-rose-700",indigo:"bg-gradient-to-r from-indigo-600 to-cyan-600 hover:from-indigo-700 hover:to-cyan-700",pink:"bg-gradient-to-r from-pink-600 to-rose-600 hover:from-pink-700 hover:to-rose-700",gray:"bg-gradient-to-r from-gray-600 to-gray-700 hover:from-gray-700 hover:to-gray-800",cyan:"bg-gradient-to-r from-cyan-600 to-teal-600 hover:from-cyan-700 hover:to-teal-700"},Sa=be__default.default.forwardRef(({title:e,value:r,subtitle:t,icon:o,color:a="blue",variant:l="default",href:c,onClick:b,loading:u=false,badge:k,footer:i,showAction:x=true,actionLabel:f="\uC790\uC138\uD788 \uBCF4\uAE30",className:s,...p},d)=>{let g=De(a),m=l==="gradient",h=m,v=be.useMemo(()=>l==="default"?`rounded-xl shadow-lg ${Ls[a]}`:l==="gradient"?`rounded-xl shadow-xl text-white ${g.gradient}`:`rounded-xl ${g.outline}`,[l,g,a]),C=y=>typeof y=="number"?y.toLocaleString():y;return jsxRuntime.jsxs("div",{ref:d,className:n("p-6 flex flex-col min-h-[220px] relative overflow-hidden group hover:shadow-xl transition-all duration-300",v,s),...p,children:[jsxRuntime.jsx("div",{className:n("absolute top-0 right-0 w-32 h-32 bg-gradient-to-bl to-transparent rounded-full -translate-y-16 translate-x-16",a==="blue"?"from-cyan-400/10":a==="purple"?"from-purple-400/10":a==="green"?"from-green-400/10":a==="orange"?"from-orange-400/10":a==="red"?"from-red-400/10":a==="indigo"?"from-indigo-400/10":a==="pink"?"from-pink-400/10":"from-gray-400/10")}),jsxRuntime.jsx("div",{className:n("absolute bottom-0 left-0 w-24 h-24 bg-gradient-to-tr to-transparent rounded-full translate-y-12 -translate-x-12",a==="blue"?"from-cyan-400/10":a==="purple"?"from-purple-400/10":a==="green"?"from-green-400/10":a==="orange"?"from-orange-400/10":a==="red"?"from-red-400/10":a==="indigo"?"from-indigo-400/10":a==="pink"?"from-pink-400/10":"from-gray-400/10")}),jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4 relative z-10",children:[jsxRuntime.jsxs("div",{className:"flex items-center",children:[o&&jsxRuntime.jsx("div",{className:n("p-2 rounded-lg",m?"bg-white/20":g.icon),children:typeof o=="string"?jsxRuntime.jsx(S,{name:o,className:n("w-6 h-6",h?"text-white":"")}):o}),jsxRuntime.jsx("span",{className:n("text-lg font-semibold ml-3",h?"text-white":"text-gray-900 dark:text-white"),children:e})]}),k&&jsxRuntime.jsx("div",{className:"text-xs font-medium",children:typeof k=="string"?jsxRuntime.jsx("span",{className:n("px-2 py-1 rounded-full",m?"bg-white/20 text-white":"bg-white/50 dark:bg-gray-800/50 text-gray-700 dark:text-gray-300"),children:k}):k})]}),jsxRuntime.jsx("div",{className:"flex-1 flex flex-col justify-center relative z-10",children:u?jsxRuntime.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded animate-pulse mb-2"}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:n("text-3xl font-bold mb-2",h?"text-white":"text-gray-900 dark:text-white"),children:C(r)}),t&&jsxRuntime.jsx("div",{className:n("text-sm mb-4",h?"text-white/90":"text-gray-600 dark:text-gray-400"),children:t})]})}),i&&jsxRuntime.jsx("div",{className:"relative z-10 mb-4",children:i}),x&&(c||b)&&jsxRuntime.jsx("div",{className:"relative z-10",children:c?jsxRuntime.jsx("a",{href:c,className:n("block w-full text-center py-3 rounded-lg font-semibold text-white hover:shadow-lg transition-all duration-200 group-hover:scale-[1.02]",Ta[a]),children:f}):jsxRuntime.jsx("button",{onClick:b,className:n("block w-full text-center py-3 rounded-lg font-semibold text-white hover:shadow-lg transition-all duration-200 group-hover:scale-[1.02]",Ta[a]),children:f})})]})});Sa.displayName="SummaryCard";var Es={info:{container:"bg-gradient-to-r from-indigo-50 to-indigo-50 dark:from-indigo-900/20 dark:to-indigo-900/20",border:"border-indigo-200/50 dark:border-indigo-700/30",dot:"bg-primary"},warning:{container:"bg-gradient-to-r from-orange-50 to-red-50 dark:from-orange-900/20 dark:to-red-900/20",border:"border-orange-200/50 dark:border-orange-700/30",dot:"bg-red-500"},error:{container:"bg-gradient-to-r from-red-50 to-rose-50 dark:from-red-900/20 dark:to-rose-900/20",border:"border-red-200/50 dark:border-red-700/30",dot:"bg-red-600"},success:{container:"bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-900/20 dark:to-emerald-900/20",border:"border-green-200/50 dark:border-green-700/30",dot:"bg-green-500"}},Hs={container:"bg-gradient-to-r from-gray-50 to-gray-100 dark:from-gray-900/20 dark:to-gray-800/20",border:"border-gray-200/50 dark:border-gray-700/30",dot:"bg-gray-500"},Da=be__default.default.forwardRef(({title:e="\uC54C\uB9BC \uBC0F \uACF5\uC9C0",items:r,emptyMessage:t="\uC54C\uB9BC\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",maxItems:o,onViewAll:a,viewAllLabel:l="\uBAA8\uB4E0 \uC54C\uB9BC \uBCF4\uAE30",showHeader:c=true,showCount:b=true,emptyState:u,className:k,...i},x)=>{let f=o?r.slice(0,o):r,s=o&&r.length>o,p=d=>d?Es[d]:Hs;return jsxRuntime.jsxs("div",{ref:x,className:n("bg-white dark:bg-gray-800 rounded-xl shadow p-6",k),...i,children:[c&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntime.jsxs("div",{className:"flex items-center",children:[jsxRuntime.jsx("div",{className:"p-2 bg-orange-500/10 rounded-lg mr-3",children:jsxRuntime.jsx(S,{name:"bell",className:"w-6 h-6 text-orange-600 dark:text-orange-400"})}),jsxRuntime.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:e})]}),b&&r.length>0&&jsxRuntime.jsxs("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-orange-100 text-orange-800 dark:bg-orange-900/30 dark:text-orange-300",children:[r.length,"\uAC1C"]})]}),f.length>0?jsxRuntime.jsx("div",{className:"space-y-3",children:f.map(d=>{let g=p(d.type),m=jsxRuntime.jsx("div",{className:n("p-3 rounded-lg border",g.container,g.border,(d.onClick||d.href)&&"cursor-pointer hover:shadow-md transition-all duration-200"),children:jsxRuntime.jsxs("div",{className:"flex items-start",children:[jsxRuntime.jsx("div",{className:n("w-2 h-2 rounded-full mt-2 mr-3 flex-shrink-0",g.dot)}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-1",children:[jsxRuntime.jsx("span",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:d.title}),jsxRuntime.jsx("time",{dateTime:d.timestamp instanceof Date?d.timestamp.toISOString():typeof d.timestamp=="string"?d.timestamp:void 0,className:"text-xs text-gray-500 dark:text-gray-400 ml-2 flex-shrink-0",children:Zt(d.timestamp)})]}),jsxRuntime.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:d.message})]})]})});return d.href?jsxRuntime.jsx("a",{href:d.href,children:m},d.id):d.onClick?jsxRuntime.jsx("div",{onClick:d.onClick,children:m},d.id):jsxRuntime.jsx("div",{children:m},d.id)})}):u||jsxRuntime.jsxs("div",{className:"text-center py-8",children:[jsxRuntime.jsx(S,{name:"bell",className:"w-12 h-12 text-gray-400 dark:text-gray-500 mx-auto mb-3"}),jsxRuntime.jsx("p",{className:"text-gray-500 dark:text-gray-400 text-sm",children:t})]}),s&&a&&jsxRuntime.jsx("div",{className:"mt-4 text-center",children:jsxRuntime.jsxs("button",{onClick:a,className:"text-sm text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 font-medium transition-colors",children:[l," (",r.length-(o||0),"\uAC1C \uB354)"]})})]})});Da.displayName="NotificationCard";var Ia=be__default.default.forwardRef(({title:e,value:r,description:t,icon:o,trend:a,chartData:l,chartLabels:c,variant:b="elevated",color:u="blue",loading:k=false,showChart:i=false,className:x,...f},s)=>{let p=De(u),d=b==="gradient",g=d,m=be.useMemo(()=>{let v=tr(b,p);return b==="elevated"?v.replace("rounded-2xl","rounded-3xl"):v},[b,p]),h=v=>typeof v=="number"?v.toLocaleString():v;return jsxRuntime.jsxs("div",{ref:s,className:n("p-6 transition-all duration-200 hover:shadow-xl",m,x),...f,children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-4",children:[o&&jsxRuntime.jsx("div",{className:n("w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0",d?"bg-white/20":p.icon),children:typeof o=="string"?jsxRuntime.jsx(S,{name:o,className:n("w-6 h-6",g?"text-white":"")}):o}),e&&jsxRuntime.jsx("span",{className:n("text-sm px-3 py-1 rounded-full font-medium",d?"bg-white/20 text-white":p.badge),children:e})]}),k?jsxRuntime.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded animate-pulse mb-2"}):jsxRuntime.jsx("h3",{className:n("text-3xl font-bold mb-1",g?"text-white":"text-gray-800 dark:text-white"),children:h(r)}),t&&jsxRuntime.jsx("p",{className:n("text-sm mb-3",g?"text-white/90":"text-gray-600 dark:text-gray-300"),children:t}),i&&l&&l.length>0&&jsxRuntime.jsx("div",{className:"mt-4 mb-3",children:jsxRuntime.jsx(rr,{data:l,labels:c,color:u,height:100,showStats:false})}),a&&!k&&jsxRuntime.jsxs("div",{className:"mt-3 flex items-center gap-1",children:[jsxRuntime.jsxs("span",{className:n("text-xs font-medium",a.positive!==false?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"),children:[a.positive!==false?"\u2191":"\u2193"," ",Math.abs(a.value),"%"]}),jsxRuntime.jsx("span",{className:n("text-xs",g?"text-white/70":"text-gray-500 dark:text-gray-400"),children:a.label})]})]})});Ia.displayName="MetricCard";var Bs={blue:"bg-indigo-500",purple:"bg-purple-500",green:"bg-green-500",orange:"bg-orange-500",red:"bg-red-500",indigo:"bg-indigo-500",pink:"bg-pink-500",gray:"bg-gray-500",cyan:"bg-cyan-500"},zs={sm:{container:"p-4",icon:"w-8 h-8",iconSize:"w-4 h-4",title:"text-sm",value:"text-xl",progress:"h-1.5"},md:{container:"p-6",icon:"w-12 h-12",iconSize:"w-6 h-6",title:"text-base",value:"text-2xl",progress:"h-2"},lg:{container:"p-8",icon:"w-16 h-16",iconSize:"w-8 h-8",title:"text-lg",value:"text-3xl",progress:"h-3"}},La=be__default.default.forwardRef(({title:e,current:r,total:t,unit:o="",description:a,icon:l,color:c="blue",variant:b="elevated",showPercentage:u=true,showLabel:k=true,size:i="md",loading:x=false,className:f,...s},p)=>{let d=De(c),g=zs[i],m=t>0?Math.min(Math.max(r/t*100,0),100):0,h=b==="gradient",C={default:`rounded-2xl border ${d.default}`,gradient:`rounded-2xl border text-white ${d.gradient}`,outline:`rounded-2xl border-2 ${d.outline}`,elevated:`rounded-3xl border ${d.elevated}`}[b];return jsxRuntime.jsxs("div",{ref:p,className:n("transition-all duration-200 hover:shadow-xl",C,g.container,f),...s,children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-4",children:[l&&jsxRuntime.jsx("div",{className:n("rounded-lg flex items-center justify-center flex-shrink-0",g.icon,h?"bg-white/20":d.icon),children:typeof l=="string"?jsxRuntime.jsx(S,{name:l,className:n(g.iconSize,h?"text-white":"")}):l}),jsxRuntime.jsxs("div",{className:"flex-1 ml-4",children:[jsxRuntime.jsx("h3",{className:n("font-semibold mb-1",g.title,h?"text-white":"text-gray-800 dark:text-white"),children:e}),a&&jsxRuntime.jsx("p",{className:n("text-sm",h?"text-white/90":"text-gray-600 dark:text-gray-400"),children:a})]})]}),x?jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"}),jsxRuntime.jsx("div",{className:"h-2 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex items-baseline justify-between mb-2",children:[jsxRuntime.jsxs("span",{className:n("font-bold",g.value,h?"text-white":`text-${c}-600 dark:text-${c}-400`),children:[r.toLocaleString(),o&&jsxRuntime.jsx("span",{className:"text-sm ml-1",children:o})]}),k&&jsxRuntime.jsxs("span",{className:n("text-sm",h?"text-white/80":"text-gray-600 dark:text-gray-400"),children:["/ ",t.toLocaleString(),o&&jsxRuntime.jsx("span",{className:"ml-1",children:o})]})]}),jsxRuntime.jsx("div",{className:"w-full bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden",children:jsxRuntime.jsx("div",{className:n("rounded-full transition-all duration-500",g.progress,h?`bg-gradient-to-r ${d.gradient.replace("bg-gradient-to-br","bg-gradient-to-r").trim()}`:Bs[c]),style:{width:`${m}%`}})}),u&&jsxRuntime.jsx("div",{className:"mt-2 flex justify-end",children:jsxRuntime.jsxs("span",{className:n("text-xs font-semibold",h?"text-white/90":`text-${c}-600 dark:text-${c}-400`),children:[m.toFixed(1),"%"]})})]})]})});La.displayName="ProgressCard";var Vs={default:{icon:"text-gray-400 dark:text-gray-500",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},warning:{icon:"text-yellow-500 dark:text-yellow-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},info:{icon:"text-indigo-500 dark:text-indigo-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},error:{icon:"text-red-500 dark:text-red-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"},success:{icon:"text-green-500 dark:text-green-400",title:"text-gray-900 dark:text-white",description:"text-gray-600 dark:text-gray-400"}},Ws={sm:{container:"py-8",icon:"w-8 h-8 mb-3",title:"text-base",description:"text-sm",button:"text-sm px-4 py-2"},md:{container:"py-12",icon:"w-12 h-12 mb-4",title:"text-lg",description:"text-sm",button:"text-sm px-6 py-2"},lg:{container:"py-16",icon:"w-16 h-16 mb-6",title:"text-xl",description:"text-base",button:"text-base px-8 py-3"}},Le=be__default.default.forwardRef(({icon:e="inbox",title:r,description:t,actionText:o,actionHref:a,actionOnClick:l,variant:c="default",size:b="md",className:u,...k},i)=>{let x=Vs[c],f=Ws[b],s=o&&(a||l)&&jsxRuntime.jsx("div",{className:"mt-6",children:a?jsxRuntime.jsx("a",{href:a,"aria-label":o,className:n("inline-flex items-center justify-center rounded-lg font-medium bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 border border-gray-300 dark:border-gray-600 transition-colors duration-200",f.button),children:o}):jsxRuntime.jsx("button",{onClick:l,"aria-label":o,className:n("inline-flex items-center justify-center rounded-lg font-medium bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 border border-gray-300 dark:border-gray-600 transition-colors duration-200",f.button),children:o})});return jsxRuntime.jsxs("div",{ref:i,className:n("text-center",f.container,u),...k,children:[e&&jsxRuntime.jsx("div",{className:n("mx-auto",x.icon),children:typeof e=="string"?jsxRuntime.jsx(S,{name:e,className:n("w-full h-full",x.icon)}):e}),jsxRuntime.jsx("h3",{className:n("font-semibold mb-2",x.title,f.title),children:r}),t&&jsxRuntime.jsx("p",{className:n("mb-4",x.description,f.description),children:t}),s]})});Le.displayName="DashboardEmptyState";var Et=be__default.default.forwardRef(({className:e,content:r,children:t,position:o="top",variant:a="default",delay:l=300,disabled:c=false,...b},u)=>{let[k,i]=be__default.default.useState(false),[x,f]=be__default.default.useState({x:0,y:0}),s=be__default.default.useRef(void 0),p=be__default.default.useRef(null),d=C=>{var D;if(c)return;let R=C.currentTarget.getBoundingClientRect();(D=p.current)==null?void 0:D.getBoundingClientRect();let T=0,K=0;switch(o){case "top":T=R.left+R.width/2,K=R.top-8;break;case "bottom":T=R.left+R.width/2,K=R.bottom+8;break;case "left":T=R.left-8,K=R.top+R.height/2;break;case "right":T=R.right+8,K=R.top+R.height/2;break}f({x:T,y:K}),s.current=window.setTimeout(()=>{i(true);},l);},g=()=>{s.current&&clearTimeout(s.current),i(false);};be__default.default.useEffect(()=>()=>{s.current&&clearTimeout(s.current);},[]);let m=()=>{switch(a){case "light":return "bg-popover text-popover-foreground border border-border shadow-lg";case "dark":return "bg-gray-900 text-white shadow-lg";default:return "bg-gray-800 text-white shadow-lg"}},v=()=>{switch(o){case "top":return "top-full left-1/2 -translate-x-1/2 border-t-gray-800 dark:border-t-gray-800";case "bottom":return "bottom-full left-1/2 -translate-x-1/2 border-b-gray-800 dark:border-b-gray-800";case "left":return "left-full top-1/2 -translate-y-1/2 border-l-gray-800 dark:border-l-gray-800";case "right":return "right-full top-1/2 -translate-y-1/2 border-r-gray-800 dark:border-r-gray-800";default:return "top-full left-1/2 -translate-x-1/2 border-t-gray-800 dark:border-t-gray-800"}};return jsxRuntime.jsxs("div",{ref:u,className:n("relative inline-block",e),onMouseEnter:d,onMouseLeave:g,...b,children:[t,k&&jsxRuntime.jsxs("div",{ref:p,className:n("fixed z-50 px-3 py-2 text-sm rounded-lg whitespace-nowrap pointer-events-none",m()),style:{left:`${x.x}px`,top:`${x.y}px`,transform:"translate(-50%, -50%)"},children:[r,jsxRuntime.jsx("div",{className:n("absolute w-0 h-0 border-4 border-transparent",v())})]})]})});Et.displayName="Tooltip";var Us=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx(Et,{ref:t,variant:"light",className:e,...r}));Us.displayName="TooltipLight";var Gs=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx(Et,{ref:t,variant:"dark",className:e,...r}));Gs.displayName="TooltipDark";var js=72,Ys=264,Pa=be__default.default.forwardRef(({logo:e,productSwitcher:r,sections:t,footerActions:o,isCollapsed:a,defaultCollapsed:l=false,onToggleCollapsed:c,collapsedWidth:b=js,expandedWidth:u=Ys,mobileBreakpoint:k=1024,overlayBackground:i="rgba(15, 23, 42, 0.45)",variant:x="default",hideToggle:f=false,itemClassName:s,activeClassName:p,isMobileOpen:d,onMobileOpenChange:g,hideMobileToggle:m=false,className:h,...v},C)=>{let[R,y]=be__default.default.useState(l),[T,K]=be__default.default.useState(false),[D,$]=be__default.default.useState(false),H=typeof a=="boolean"?a:R,V=typeof d=="boolean"?d:T,N=L=>{g==null||g(L),typeof d!="boolean"&&K(L);};be__default.default.useEffect(()=>{let L=()=>$(window.innerWidth<=k);return L(),window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)},[k]);let w=()=>{let L=!H;y(L),c==null||c(L);},F=H?b:u,j=jsxRuntime.jsxs("aside",{ref:C,role:"navigation","aria-label":"\uB300\uC2DC\uBCF4\uB4DC \uB124\uBE44\uAC8C\uC774\uC158",className:n("flex h-full flex-col overflow-hidden px-3 py-4 transition-[width] duration-200",x==="transparent"?"border-r border-slate-200/40 dark:border-slate-800/60":"border-r border-slate-200/60 bg-white/95 shadow-sm dark:border-slate-800 dark:bg-slate-950/80 backdrop-blur",h),style:{width:F,minWidth:F},...v,children:[jsxRuntime.jsxs("div",{className:"mb-6 flex items-center justify-between gap-2 px-1",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[e,!H&&r]}),!f&&jsxRuntime.jsxs("button",{type:"button",onClick:w,"aria-label":H?"\uC0AC\uC774\uB4DC\uBC14 \uD3BC\uCE58\uAE30":"\uC0AC\uC774\uB4DC\uBC14 \uC811\uAE30","aria-expanded":!H,className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 text-slate-500 transition-colors hover:bg-slate-100 dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800",children:[jsxRuntime.jsx(S,{name:H?"chevronRight":"chevronLeft",className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"\uC0AC\uC774\uB4DC\uBC14 \uD1A0\uAE00"})]})]}),jsxRuntime.jsx("div",{className:"flex-1 space-y-6 overflow-y-auto",children:t.map(L=>jsxRuntime.jsxs("div",{className:"space-y-2",children:[!H&&L.label&&jsxRuntime.jsx("div",{className:"px-3 text-xs font-medium uppercase tracking-wide text-slate-400 dark:text-slate-500",role:"heading","aria-level":2,children:L.label}),jsxRuntime.jsx("nav",{className:"space-y-1","aria-label":L.label||"\uB124\uBE44\uAC8C\uC774\uC158",children:L.items.map(A=>{let ve=n("group flex w-full items-center rounded-lg px-3 py-2 text-sm font-medium transition focus:outline-none focus-visible:ring-1 focus-visible:ring-ring/50",A.active?p||"bg-indigo-50 text-indigo-700 dark:bg-indigo-500/20 dark:text-indigo-100":s||"text-slate-600 hover:bg-slate-100 dark:text-slate-400 dark:hover:bg-slate-800"),Te=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[A.icon&&jsxRuntime.jsx("span",{className:"mr-3",children:typeof A.icon=="string"?jsxRuntime.jsx(S,{name:A.icon,className:"h-5 w-5",variant:"inherit"}):A.icon}),!H&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"flex-1 text-left",children:A.label}),A.badge&&jsxRuntime.jsx("span",{className:"text-xs text-slate-400",children:A.badge})]})]}),ie=()=>{D&&N(false);},bt=A.href?jsxRuntime.jsx("a",{href:A.href,className:ve,"aria-current":A.active?"page":void 0,onClick:ie,children:Te},A.id):jsxRuntime.jsx("button",{type:"button",onClick:()=>{var I;(I=A.onClick)==null||I.call(A),ie();},className:ve,"aria-pressed":A.active,children:Te},A.id);return H?jsxRuntime.jsx(Et,{content:A.label,children:bt},A.id):bt})})]},L.id))}),jsxRuntime.jsxs("div",{className:"mt-4 border-t border-slate-100 pt-4 dark:border-slate-800",children:[o,jsxRuntime.jsx("div",{className:"mt-2 hidden text-xs text-slate-400 lg:block",children:jsxRuntime.jsx("span",{children:"\u24D2 HUA Labs"})})]})]});return jsxRuntime.jsx(jsxRuntime.Fragment,{children:D?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[!m&&jsxRuntime.jsx("button",{className:"fixed top-3 left-3 z-30 inline-flex h-10 w-10 items-center justify-center rounded-xl border border-slate-200 bg-white shadow-md dark:border-slate-700 dark:bg-slate-900 dark:text-slate-200",onClick:()=>N(true),children:jsxRuntime.jsx(S,{name:"menu",className:"h-5 w-5"})}),V&&jsxRuntime.jsxs("div",{className:"fixed inset-0 z-40 flex",children:[jsxRuntime.jsx("div",{className:"absolute inset-0",style:{backgroundColor:i},onClick:()=>N(false)}),jsxRuntime.jsxs("div",{className:"relative z-50 h-full bg-white dark:bg-slate-950",children:[j,jsxRuntime.jsx("button",{className:"absolute top-4 right-4 inline-flex h-10 w-10 items-center justify-center rounded-xl text-slate-500 hover:bg-slate-100 dark:text-slate-400 dark:hover:bg-slate-800 transition-colors",onClick:()=>N(false),children:jsxRuntime.jsx(S,{name:"close",className:"h-5 w-5"})})]})]})]}):j})});Pa.displayName="DashboardSidebar";var vr=be__default.default.forwardRef(({className:e,variant:r="default",size:t="md",...o},a)=>{let l=()=>{switch(r){case "bordered":return "border border-border divide-x divide-border";case "striped":return "divide-y divide-border";default:return ""}},c=()=>{switch(t){case "sm":return "text-sm";case "lg":return "text-base";default:return "text-sm"}};return jsxRuntime.jsx("div",{className:"w-full overflow-auto",children:jsxRuntime.jsx("table",{ref:a,className:n("w-full caption-bottom",l(),c(),e),...o})})});vr.displayName="Table";var kr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("thead",{ref:t,className:n("[&_tr]:border-b",e),...r}));kr.displayName="TableHeader";var wr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("tbody",{ref:t,className:n("[&_tr:last-child]:border-0",e),...r}));wr.displayName="TableBody";var qs=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("tfoot",{ref:t,className:n("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r}));qs.displayName="TableFooter";var Ct=be__default.default.forwardRef(({className:e,variant:r="default",...t},o)=>jsxRuntime.jsx("tr",{ref:o,className:n("border-b transition-colors data-[state=selected]:bg-muted/50",r==="hover"?"hover:bg-muted/50":"",e),...t}));Ct.displayName="TableRow";var Nr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("th",{ref:t,className:n("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...r}));Nr.displayName="TableHead";var At=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("td",{ref:t,className:n("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...r}));At.displayName="TableCell";var Cr=be__default.default.forwardRef(({className:e,...r},t)=>jsxRuntime.jsx("caption",{ref:t,className:n("mt-4 text-sm text-muted-foreground",e),...r}));Cr.displayName="TableCaption";var Xs=classVarianceAuthority.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{default:"bg-[var(--badge-default-bg)] text-[var(--badge-default-text)] hover:opacity-80",secondary:"bg-[var(--badge-secondary-bg)] text-[var(--badge-secondary-text)] hover:opacity-80",destructive:"bg-[var(--badge-destructive-bg)] text-slate-50 hover:opacity-80",error:"bg-[var(--badge-destructive-bg)] text-slate-50 hover:opacity-80",outline:"bg-transparent text-[var(--badge-outline-text)] border border-[var(--badge-outline-border)] hover:bg-[var(--badge-outline-hover-bg)]",glass:"bg-[var(--badge-glass-bg)] backdrop-blur-sm border border-[var(--badge-glass-border)] text-[var(--badge-glass-text)] hover:opacity-80"}},defaultVariants:{variant:"default"}}),yt=be__default.default.memo(be__default.default.forwardRef(({className:e,variant:r="default",...t},o)=>jsxRuntime.jsx("div",{ref:o,className:n(Xs({variant:r}),e),...t})));yt.displayName="Badge";var ei=classVarianceAuthority.cva("block",{variants:{variant:{text:"rounded w-full h-4",circular:"rounded-full w-10 h-10",rounded:"rounded-lg w-full h-[200px]",rectangular:"rounded-none w-full h-[200px]"},animation:{pulse:"animate-pulse bg-muted",wave:"bg-muted",shimmer:"bg-muted"}},defaultVariants:{variant:"text",animation:"pulse"}}),Ve=be__default.default.forwardRef(({className:e,variant:r="text",width:t,height:o,animation:a="pulse",...l},c)=>{let b=()=>a==="wave"||a==="shimmer"?{background:"linear-gradient(90deg, hsl(var(--muted)) 0%, hsl(var(--muted-foreground) / 0.2) 50%, hsl(var(--muted)) 100%)",backgroundSize:"200% 100%",animation:"shimmer 1.5s ease-in-out infinite"}:{};return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[(a==="wave"||a==="shimmer")&&jsxRuntime.jsx("style",{children:`
2
2
  @keyframes shimmer {
3
3
  0% { background-position: 200% 0; }
4
4
  100% { background-position: -200% 0; }